candle_core

Trait ModuleT

Source
pub trait ModuleT {
    // Required method
    fn forward_t(&self, xs: &Tensor, train: bool) -> Result<Tensor>;
}

Required Methods§

Source

fn forward_t(&self, xs: &Tensor, train: bool) -> Result<Tensor>

Implementors§

Source§

impl<M: Module> ModuleT for M