Calculates:
output = max(input, 0.0) Copy
output = max(input, 0.0)
Gradient:
inputGrad = input > 0.0 ? outputGrad : 0.0 Copy
inputGrad = input > 0.0 ? outputGrad : 0.0
the input tensor of any shape
the output tensor
Generated using TypeDoc
Calculates:
Gradient: