Trait HasAutodiffModule
pub trait HasAutodiffModule<B>where
B: AutodiffBackend,{
type TrainModule: AutodiffModule<B, InnerModule = Self>;
}Expand description
Helper trait to associate a module with its autodiff version.
Required Associated Types§
type TrainModule: AutodiffModule<B, InnerModule = Self>
type TrainModule: AutodiffModule<B, InnerModule = Self>
The module with auto-differentiation.