pub enum Module<N: Dtype> {
Mlir(MlirModule<N>),
Ndarray(NdarrayModule<N>),
}Expand description
A compiled module, tagged by which backend produced it.
Variants§
Mlir(MlirModule<N>)
A module compiled by the LLVM/MLIR backend.
Ndarray(NdarrayModule<N>)
A module compiled by the ndarray backend.
Trait Implementations§
Auto Trait Implementations§
impl<N> Freeze for Module<N>
impl<N> RefUnwindSafe for Module<N>where
N: RefUnwindSafe,
impl<N> Send for Module<N>where
N: Send,
impl<N> Sync for Module<N>where
N: Sync,
impl<N> Unpin for Module<N>where
N: Unpin,
impl<N> UnsafeUnpin for Module<N>
impl<N> UnwindSafe for Module<N>where
N: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more