pub enum ConvolveMethod {
Auto,
Direct,
Fft,
}Variants§
Auto
‘auto’ chooses the method based on the input sizes.
Direct
‘direct’ computes the convolution using a straightforward nested loop approach, which is efficient for small input sizes.
Fft
‘fft’ computes convolution using the Fast Fourier Transform.
Trait Implementations§
Source§impl Clone for ConvolveMethod
impl Clone for ConvolveMethod
impl Copy for ConvolveMethod
Auto Trait Implementations§
impl Freeze for ConvolveMethod
impl RefUnwindSafe for ConvolveMethod
impl Send for ConvolveMethod
impl Sync for ConvolveMethod
impl Unpin for ConvolveMethod
impl UnsafeUnpin for ConvolveMethod
impl UnwindSafe for ConvolveMethod
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