tf.data.experimental.get_next_as_optional
Stay organized with collections
Save and categorize content based on your preferences.
Returns a tf.experimental.Optional with the next element of the iterator. (deprecated)
tf.data.experimental.get_next_as_optional(
iterator
)
If the iterator has reached the end of the sequence, the returned
tf.experimental.Optional will have no value.
Returns |
A tf.experimental.Optional object which either contains the next element
of the iterator (if it exists) or no value.
|
[null,null,["Last updated 2023-10-06 UTC."],[],[]]