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

Function compute

tensorflow/python/ops/functional_ops.py:141–144  ·  view source on GitHub ↗
(i, a)

Source from the content-addressed store, hash-verified

139 i = constant_op.constant(0)
140
141 def compute(i, a):
142 elem_i = nest.map_structure(lambda elem: elem.read(i), elems_ta)
143 a = fn(a, elem_i)
144 return [i + 1, a]
145
146 _, r_a = control_flow_ops.while_loop(
147 lambda i, a: i < n,

Callers

nothing calls this directly

Calls 5

fnFunction · 0.70
input_packFunction · 0.70
output_packFunction · 0.70
readMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected