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

Method Body

tensorflow/python/kernel_tests/while_v2_test.py:103–104  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

101 x = constant_op.constant(1., dtypes.float32)
102
103 def Body(x):
104 return math_ops.cast(x, dtypes.float16) + 1
105
106 while_loop_v2(lambda x: x < 10, Body, [x])
107

Callers

nothing calls this directly

Calls 9

while_loop_v2Function · 0.85
reshapeMethod · 0.80
colocate_withMethod · 0.80
castMethod · 0.45
constantMethod · 0.45
while_loopMethod · 0.45
identityMethod · 0.45
concatMethod · 0.45
as_listMethod · 0.45

Tested by

no test coverage detected