[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[],null,["# tf.compat.v1.data.make_one_shot_iterator\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.0.0/tensorflow/python/data/ops/dataset_ops.py#L2054-L2072) |\n\nCreates a [`tf.compat.v1.data.Iterator`](../../../../tf/compat/v1/data/Iterator) for enumerating the elements of a dataset. \n\n tf.compat.v1.data.make_one_shot_iterator(\n dataset\n )\n\n| **Note:** The returned iterator will be initialized automatically. A \"one-shot\" iterator does not support re-initialization.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------|-----------------------------------------------------|\n| `dataset` | A [`tf.data.Dataset`](../../../../tf/data/Dataset). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A [`tf.compat.v1.data.Iterator`](../../../../tf/compat/v1/data/Iterator) over the elements of this dataset. ||\n\n\u003cbr /\u003e"]]