pub trait ModuleT {
// Required method
fn forward_t(&self, xs: &Tensor, train: bool) -> Result<Tensor>;
}Expand description
A single forward method using a single single tensor argument and a flag to separate the training and evaluation behaviors.