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

Function _MaximumGrad

tensorflow/python/ops/math_grad.py:1437–1439  ·  view source on GitHub ↗

Returns grad*(x > y, x <= y) with type of grad.

(op, grad)

Source from the content-addressed store, hash-verified

1435
1436@ops.RegisterGradient("Maximum")
1437def _MaximumGrad(op, grad):
1438 """Returns grad*(x > y, x <= y) with type of grad."""
1439 return _MaximumMinimumGrad(op, grad, math_ops.greater_equal)
1440
1441
1442@ops.RegisterGradient("Minimum")

Callers

nothing calls this directly

Calls 1

_MaximumMinimumGradFunction · 0.85

Tested by

no test coverage detected