Do not log an error when `tf.py_func()` raises `StopIteration`.
This reduces log spam when using `tf.py_func()` to wrap a Python generator, such as when using `tf.data.Dataset.from_generator()`. PiperOrigin-RevId: 175831781
Loading
Please sign in to comment