Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ g
Method
g
tensorflow/python/eager/function_test.py:863–864 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
861
862
@def_function.function
863
def
g(x):
864
return
f(x) + 1
865
866
self.assertAllEqual(g(constant_op.constant(2.0)).eval(), 5.0)
867
Callers
nothing calls this directly
Calls
4
f
Function · 0.50
as_list
Method · 0.45
add
Method · 0.45
constant
Method · 0.45
Tested by
no test coverage detected