diffusion_rs_common::nn::ops

Function layer_norm

source
pub fn layer_norm(
    xs: &Tensor,
    alpha: &Tensor,
    beta: &Tensor,
    eps: f32,
) -> Result<Tensor>