MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _next_internal

Method _next_internal

tensorflow/contrib/eager/python/datasets.py:68–75  ·  view source on GitHub ↗

Returns a nested structure of `tf.Tensor`s containing the next element.

(self)

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 1

execution_modeMethod · 0.80

Tested by

no test coverage detected