pub trait ADModule<B: ADBackend>: Module<B> + Send + Sync + Debug {
type InnerModule: Module<B::InnerBackend>;
// Required method
fn valid(&self) -> Self::InnerModule;
}Expand description
Module with auto-differentiation backend.
Required Associated Types§
type InnerModule: Module<B::InnerBackend>
Required Methods§
sourcefn valid(&self) -> Self::InnerModule
fn valid(&self) -> Self::InnerModule
Get the same module, but on the inner backend without auto-differentiation.