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

Function _ReverseGrad

tensorflow/python/ops/array_grad.py:795–797  ·  view source on GitHub ↗
(op, grad)

Source from the content-addressed store, hash-verified

793
794@ops.RegisterGradient("Reverse")
795def _ReverseGrad(op, grad):
796 reverse_dims = op.inputs[1]
797 return gen_array_ops.reverse(grad, reverse_dims), None
798
799
800@ops.RegisterGradient("ReverseV2")

Callers

nothing calls this directly

Calls 1

reverseMethod · 0.45

Tested by

no test coverage detected