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

Function _UnsortedSegmentSumGrad

tensorflow/python/ops/math_grad.py:447–449  ·  view source on GitHub ↗

Gradient for UnsortedSegmentSum.

(op, grad)

Source from the content-addressed store, hash-verified

445
446@ops.RegisterGradient("UnsortedSegmentSum")
447def _UnsortedSegmentSumGrad(op, grad):
448 """Gradient for UnsortedSegmentSum."""
449 return _GatherDropNegatives(grad, op.inputs[1])[0], None, None
450
451
452@ops.RegisterGradient("UnsortedSegmentMax")

Callers

nothing calls this directly

Calls 1

_GatherDropNegativesFunction · 0.85

Tested by

no test coverage detected