Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ true_fn
Method
true_fn
tensorflow/python/kernel_tests/cond_v2_test.py:99–100 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
97
y = constant_op.constant(2.0, name=
"y"
)
98
99
def
true_fn():
100
return
x * 2.0
101
102
def
false_fn():
103
return
y * 3.0
Callers
nothing calls this directly
Calls
3
_cond
Function · 0.85
fn
Function · 0.50
constant
Method · 0.45
Tested by
no test coverage detected