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