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

Function f

tensorflow/python/ops/while_v2.py:1126–1129  ·  view source on GitHub ↗
(maybe_ta)

Source from the content-addressed store, hash-verified

1124def _tensor_array_to_flow(loop_vars):
1125
1126 def f(maybe_ta):
1127 if isinstance(maybe_ta, tensor_array_ops.TensorArray):
1128 return maybe_ta.flow
1129 return maybe_ta
1130
1131 return nest.map_structure(f, loop_vars, expand_composites=True)
1132

Callers 15

decorated_eagerFunction · 0.70
_prepareFunction · 0.70
_GetFuncGradientsMethod · 0.70
_graph_mode_decoratorFunction · 0.70
_eager_mode_decoratorFunction · 0.70
innerFunction · 0.70
gradFunction · 0.70
_grad_pass_through_opFunction · 0.70
testBatchSeedsMethod · 0.70
testResetMethod · 0.70

Calls

no outgoing calls

Tested by 15

_GetFuncGradientsMethod · 0.56
testBatchSeedsMethod · 0.56
testResetMethod · 0.56
testGeneratorCreationMethod · 0.56
testGeneratorCopyMethod · 0.56
testTF1Method · 0.56
compareMethod · 0.56
testKeyMethod · 0.56