Returns a nested structure of `tf.Tensor`s containing the next element.
(self)
| 66 | super(Iterator, self).__init__(dataset) |
| 67 | |
| 68 | def _next_internal(self): |
| 69 | """Returns a nested structure of `tf.Tensor`s containing the next element. |
| 70 | """ |
| 71 | # This runs in sync mode as iterators use an error status to communicate |
| 72 | # that there is no more data to iterate over. |
| 73 | # TODO(b/77291417): Fix |
| 74 | with context.execution_mode(context.SYNC): |
| 75 | return super(Iterator, self)._next_internal() |
nothing calls this directly
no test coverage detected