Skip to main content

burn_layer_norm

Function burn_layer_norm 

Source
pub fn burn_layer_norm(
    x: Tensor<2>,
    w: Tensor<1>,
    b: Tensor<1>,
    eps: f32,
) -> Tensor<2>
Expand description

LayerNorm over the last dim, with weight and bias.