[tf.data] Enable Dataset.make_one_shot_iterator() and Dataset.__iter__() in eager mode.
This change partially replicates the code in `tf.contrib.eager.Iterator`. However, since that class depends on contrib-level functionality (viz. cross-device prefetching support), we cannot move it wholesale to core. PiperOrigin-RevId: 188790349
Loading
Please sign in to comment