diffusion_rs_common::nn::func

Function func_t

source
pub fn func_t<'a, F>(f: F) -> FuncT<'a>
where F: 'a + Fn(&Tensor, bool) -> Result<Tensor> + Send + Sync,