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

Method map_fn

tensorflow/python/ops/control_flow_ops.py:2180–2184  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

2178 with ops.control_dependencies(new_summaries):
2179
2180 def map_fn(x):
2181 # TODO(apassos) figure out how to trigger with tensor arrays as well
2182 if isinstance(x, tensor_array_ops.TensorArray):
2183 return x
2184 return array_ops.identity(x)
2185
2186 body_result = nest.map_structure(
2187 map_fn, body_result, expand_composites=True)

Callers 15

image_serving_input_fnFunction · 0.45
tensors_to_itemMethod · 0.45
input_fnMethod · 0.45
test_nameMethod · 0.45
test_identityMethod · 0.45
test_callable_objectMethod · 0.45
test_sliceMethod · 0.45
test_stringMethod · 0.45
map_fnFunction · 0.45
ctc_unique_labelsFunction · 0.45
normFunction · 0.45
testRaggedMapMethod · 0.45

Calls 1

identityMethod · 0.45

Tested by 15

input_fnMethod · 0.36
test_nameMethod · 0.36
test_identityMethod · 0.36
test_callable_objectMethod · 0.36
test_sliceMethod · 0.36
test_stringMethod · 0.36
testRaggedMapMethod · 0.36
testZipMethod · 0.36
testBatchGatherMethod · 0.36