Skip to content
fn

sigmoid_op

→TensorImplPtr
int sigmoid_op(const int & a)

Python wrappers

Public Python APIs implemented by this engine symbols.

Logistic sigmoid y=1/(1+e−x)y = 1 / (1 + e^{-x}).

See Also

SigmoidBackward : Autograd node implementing the gradient rule.

Parameters

aTensorImplPtr
Input tensor of any real dtype.

Returns

TensorImplPtr

Output tensor with values in (0,1)(0, 1).