diffusion_rs_common::nn::rotary_emb

Function rope_thd

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