mlx_rs::nn

Function sigmoid

Source
pub fn sigmoid(x: impl AsRef<Array>) -> Result<Array>
Expand description

Applies the element-wise sigmoid logistic sigmoid.

For details, please see this documentation

This is:

sigmoid(x)