diffusion_rs_common::nn::ops

Function leaky_relu

source
pub fn leaky_relu(xs: &Tensor, negative_slope: f64) -> Result<Tensor>