diffusion_rs_common::nn::ops

Function hard_sigmoid

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