Sigmoid Activation¶
sigmoid_actv_type
sigmoid_actv_type(
scale=1.0,
attributes=...
)
The sigmoid activation function squashes values to a range between 0 and 1.
\[f(x) = s \frac{1}{1 + e^{-x}}\]
where \(s\) is a scaling factor (default 1.0).
This activation is commonly used in binary classification problems and in the output layer of networks predicting probabilities.
Arguments¶
scale (real): Scaling factor for the output. Default:
1.0.attributes (array): Optional ONNX attributes.
Shape:¶
Input: Any shape.
Output: Same shape as input, with values in range (0, 1).