Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ f
Method
f
tensorflow/python/eager/function_test.py:170–172 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
168
169
@function.defun
170
def
f():
171
with
ops.control_dependencies([op]):
172
return
1.0
173
174
self.evaluate(f())
175
self.assertAllEqual(self.evaluate(v), 2.0)
Callers
1
testVariablesPlacedOnOutsideDevice
Method · 0.45
Calls
10
Variable
Method · 0.80
reshape
Method · 0.80
control_dependencies
Method · 0.45
read_value
Method · 0.45
random_normal
Method · 0.45
constant
Method · 0.45
matmul
Method · 0.45
add
Method · 0.45
as_list
Method · 0.45
dequeue
Method · 0.45
Tested by
no test coverage detected