tf.compat.v1.data.make_one_shot_iterator

View source on GitHub

Creates a tf.compat.v1.data.Iterator for enumerating dataset elements.

Used in the notebooks

Used in the tutorials

dataset A tf.data.Dataset.

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