Calculates:
output = 1.0 / (1.0 + exp(-input)) Copy
output = 1.0 / (1.0 + exp(-input))
Gradient:
var out = 1.0 / (1.0 + exp(-input)); inputGrad = outputGrad * out * (1.0 - out) Copy
var out = 1.0 / (1.0 + exp(-input)); inputGrad = outputGrad * out * (1.0 - out)
the input tensor of any shape
the output tensor
Generated using TypeDoc
Calculates:
Gradient: