Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.data.make_one_shot_iterator

View source on GitHub

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

Aliases:

  • tf.compat.v1.data.make_one_shot_iterator
tf.data.make_one_shot_iterator(dataset)

Args:

Returns:

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