diffusion_rs_common::nn::ops

Function inplace_attn_softmax_last_dim

source
pub fn inplace_attn_softmax_last_dim(
    xs: &mut Tensor,
    mask: &Tensor,
    scale: f32,
) -> Result<()>
Expand description

Inplace equivalent of attn_softmax_last_dim