MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / second

Method second

tensorflow/python/eager/backprop_test.py:495–497  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

493 return x
494
495 def second(x):
496 grad = backprop.gradients_function(first, [0])(x)[0]
497 return math_ops.reduce_sum(grad, constant_op.constant([0]))
498
499 f = constant_op.constant([[0.1]])
500 grad = backprop.gradients_function(second, [0])(f)[0]

Callers 15

callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80

Calls 2

reduce_sumMethod · 0.80
constantMethod · 0.45

Tested by

no test coverage detected