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

Method cond

tensorflow/python/distribute/input_lib.py:424–426  ·  view source on GitHub ↗
(has_data, data, state)

Source from the content-addressed store, hash-verified

422 has_data, data = _get_next_as_optional(iterator, self._strategy)
423
424 def cond(has_data, data, state):
425 del data, state # Unused.
426 return has_data
427
428 def loop_body(has_data, data, state):
429 """Executes `reduce_fn` in a loop till the dataset is empty."""

Callers 9

defaults_twoMethod · 0.45
map_fnMethod · 0.45
scan_fnMethod · 0.45
get_nextMethod · 0.45
get_next_as_listMethod · 0.45

Calls

no outgoing calls

Tested by 6

defaults_twoMethod · 0.36
map_fnMethod · 0.36
scan_fnMethod · 0.36