MCPcopy 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

cClass · 0.85
reduce_sumMethod · 0.80
jacobianMethod · 0.80
GradientTapeMethod · 0.45
watchMethod · 0.45

Tested by

no test coverage detected