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

Function LoadingFunc

tensorflow/python/tpu/datasets.py:165–169  ·  view source on GitHub ↗
(h)

Source from the content-addressed store, hash-verified

163
164 @function.Defun(dtypes.string)
165 def LoadingFunc(h):
166 remote_iterator = iterator_ops.Iterator.from_string_handle(
167 h, dataset_ops.get_legacy_output_types(source_dataset),
168 dataset_ops.get_legacy_output_shapes(source_dataset))
169 return remote_iterator.get_next()
170
171 def MapFn(unused_input):
172 source_dataset_output_types = dataset_ops.get_legacy_output_types(

Callers

nothing calls this directly

Calls 2

from_string_handleMethod · 0.80
get_nextMethod · 0.45

Tested by

no test coverage detected