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

Method body

tensorflow/python/ops/control_flow_ops_test.py:211–214  ·  view source on GitHub ↗
(it, cost)

Source from the content-addressed store, hash-verified

209 return it < 5
210
211 def body(it, cost):
212 embedding = embedding_ops.embedding_lookup(embedding_matrix + 0.0, [0])
213 cost += math_ops.reduce_sum(embedding)
214 return it + 1, cost
215
216 _, cost = control_flow_ops.while_loop(
217 cond, body, [constant_op.constant(0),

Callers

nothing calls this directly

Calls 11

reduce_sumMethod · 0.80
equalMethod · 0.80
condMethod · 0.45
squareMethod · 0.45
while_loopMethod · 0.45
constantMethod · 0.45
cached_sessionMethod · 0.45
evaluateMethod · 0.45
assertAllEqualMethod · 0.45
gatherMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected