tf.data.make_one_shot_iterator

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

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.data.make_one_shot_iterator

dataset A tf.data.Dataset.

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