pub enum ConvStrategy {
Direct,
Autotune,
ImplicitGemm,
}Expand description
The strategy to be used when launching a convolution kernel.
Variants§
Direct
A simple direct convolution.
Autotune
Available on crate feature
autotune only.Using autotune to choose the best kernel based on runtime information.
ImplicitGemm
Implicit GEMM implementation of convolution. Lower memory usage but requires CMMA and has constraints on tensor shape.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConvStrategy
impl RefUnwindSafe for ConvStrategy
impl Send for ConvStrategy
impl Sync for ConvStrategy
impl Unpin for ConvStrategy
impl UnwindSafe for ConvStrategy
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