tf.contrib.data.unbatch()
Defined in tensorflow/contrib/data/python/ops/batching.py
.
See the guide: Dataset Input Pipeline > Transformations on existing datasets
A Transformation which splits the elements of a dataset.
For example, if elements of the dataset are shaped [B, a0, a1, ...]
, where B
may vary from element to element, then for each element in the dataset, the unbatched dataset will contain B
consecutive elements of shape [a0, a1, ...]
.
A Dataset
transformation function, which can be passed to tf.data.Dataset.apply
.
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/data/unbatch