tf.compat.v1.data.make_one_shot_iterator

View source on GitHub

Creates an iterator for elements of dataset.

Used in the notebooks

Used in the tutorials

dataset A tf.data.Dataset.

A tf.data.Iterator for elements of dataset.