Missed TensorFlow World? Check out the recap. Learn more

tf.data.make_one_shot_iterator

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:

Returns:

A tf.data.Iterator over the elements of this dataset.