Commit f1edf205 authored by Derek Murray's avatar Derek Murray Committed by TensorFlower Gardener
Browse files

[tf.data] Add internal method for testing whether a dataset has a `Dataset.repeat(None)`.

This utility function can be used to generate a warning when an indefinitely repeated `Dataset` is passed to an API that expects a finite `Dataset`.

PiperOrigin-RevId: 223648690
parent d2c1774b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment