Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_v2
Function · 0.85
reshape
Method · 0.80
colocate_with
Method · 0.80
cast
Method · 0.45
constant
Method · 0.45
while_loop
Method · 0.45
identity
Method · 0.45
concat
Method · 0.45
as_list
Method · 0.45
Tested by
no test coverage detected