diffusion_rs_common::nn::ops

Function sigmoid

source
pub fn sigmoid(xs: &Tensor) -> Result<Tensor>