pub trait ADModule: Module<Backend = Self::ADBackend> + Send + Sync + Debug + Display {
    type ADBackend: ADBackend;
    type InnerModule: Module<Backend = <Self::ADBackend as ADBackend>::InnerBackend>;

    fn inner(&self) -> Self::InnerModule;
}
Expand description

Module with auto-differentiation backend.

Required Associated Types

Required Methods

Get the same module, but on the inner backend without auto-differentiation.

Implementors