diffusion_rs_common::nn::ops

Function swiglu

source
pub fn swiglu(xs: &Tensor) -> Result<Tensor>