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

[tf.data] Improve the error messages for `Dataset.from_generator()`.

In particular:
* Improve the error message when the generator yields something with the wrong
  structure.
* Improve the error message when the generator yields something with the wrong
  element type.

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