tf.data.make_one_shot_iterator(dataset)
Defined in tensorflow/python/data/ops/dataset_ops.py
.
Creates a tf.data.Iterator
for enumerating the elements of a dataset.
Args:
dataset
: Atf.data.Dataset
.
Returns:
A tf.data.Iterator
over the elements of this dataset.