Trait tch::nn::Module[][src]

pub trait Module: Debug + Send {
    fn forward(&self, xs: &Tensor) -> Tensor;
}
Expand description

The simplest module trait, defining a forward function.

Required methods

Implementors