View source on GitHub |
Creates a tf.compat.v1.data.Iterator
for enumerating the elements of a dataset.
tf.data.make_one_shot_iterator(
dataset
)
Args | |
---|---|
dataset
|
A tf.data.Dataset .
|
Returns | |
---|---|
A tf.compat.v1.data.Iterator over the elements of this dataset.
|