MCPcopy Create free account
hub / github.com/alibaba/euler / _ScatterAddGrad

Function _ScatterAddGrad

tf_euler/python/euler_ops/mp_ops.py:47–49  ·  view source on GitHub ↗
(op, grad)

Source from the content-addressed store, hash-verified

45
46@tf.RegisterGradient('MPScatterAdd')
47def _ScatterAddGrad(op, grad):
48 indices = op.inputs[1]
49 return [gather(grad, indices), None, None]
50
51
52@tf.RegisterGradient('MPScatterMax')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected