Calculates:
var inpi = input * 3.141592653589793; output = input == 0.0 ? 1.0 : sin(inpi) / inpi Copy
var inpi = input * 3.141592653589793; output = input == 0.0 ? 1.0 : sin(inpi) / inpi
Gradient:
var inpi = input * 3.141592653589793; inputGrad = input == 0.0 ? 0.0 : (outputGrad * 3.141592653589793 * (inpi*cos(inpi) - sin(inpi)) / (inpi*inpi)) Copy
var inpi = input * 3.141592653589793; inputGrad = input == 0.0 ? 0.0 : (outputGrad * 3.141592653589793 * (inpi*cos(inpi) - sin(inpi)) / (inpi*inpi))
the input tensor of any shape
the output tensor
Generated using TypeDoc
Calculates:
Gradient: