Join GitHub today
Feature Request: Support for None values in tf.contrib.data.Dataset #13865
It would be very handy if the Dataset API supports
Hmm, I'm concerned that using
X_test = tf.contrib.data.Dataset.from_tensor_slices(X_test_data) y_test = tf.contrib.data.Dataset.from_tensor_slices(None) data_test = tf.conrib.Dataset.zip((X_test, y_test))
At this point, what is the value of
...and I don't see how the two
Did you have an approach in mind that would make this work?
For the record though, you don't need to waste memory to tack on a dummy value to the test dataset. For example
In that case, seems like
As far as the feature request goes, maybe something like this will be more clear
The idea is that just some empty Dataset is created, which can be compatible with
Up to you to close the issue if you think there will be no real benefit.