diffusion_rs_common::nn::rotary_emb

Function rope_i

source
pub fn rope_i(xs: &Tensor, cos: &Tensor, sin: &Tensor) -> Result<Tensor>