[tf.data] Return OK and set `*end_of_sequence = true` when repeating an empty dataset.
Returning an error status could lead to situations (like `empty_ds.repeat(None).interleave(...)`) where the wrong exception was raised. This change ensures that the proper `OutOfRangeError` is raised in the user program. PiperOrigin-RevId: 185900119
Loading
Please sign in to comment