Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ grad
Method
grad
tensorflow/python/eager/backprop_test.py:182–183 ·
view source on GitHub ↗
(_)
Source
from the content-addressed store, hash-verified
180
@custom_gradient.custom_gradient
181
def
identity(x):
182
def
grad(_):
183
return
[]
# This return value is wrong!
184
return
x, grad
185
186
x = variables.Variable(1.0)
Callers
nothing calls this directly
Calls
5
c
Class · 0.85
reduce_sum
Method · 0.80
jacobian
Method · 0.80
GradientTape
Method · 0.45
watch
Method · 0.45
Tested by
no test coverage detected