pub enum ConvolutionType {
Conv1D,
Conv2D,
Conv3D,
DepthwiseConv2D,
SeparableConv2D,
ConvTranspose2D,
DilatedConv2D,
GroupedConv2D,
}Expand description
Convolution operation type
Variants§
Conv1D
1D convolution
Conv2D
2D convolution (most common)
Conv3D
3D convolution
DepthwiseConv2D
Depthwise convolution
SeparableConv2D
Separable convolution
ConvTranspose2D
Transposed convolution (deconvolution)
DilatedConv2D
Dilated convolution
GroupedConv2D
Grouped convolution
Trait Implementations§
Source§impl Clone for ConvolutionType
impl Clone for ConvolutionType
Source§fn clone(&self) -> ConvolutionType
fn clone(&self) -> ConvolutionType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConvolutionType
impl Debug for ConvolutionType
Source§impl PartialEq for ConvolutionType
impl PartialEq for ConvolutionType
impl Copy for ConvolutionType
impl Eq for ConvolutionType
impl StructuralPartialEq for ConvolutionType
Auto Trait Implementations§
impl Freeze for ConvolutionType
impl RefUnwindSafe for ConvolutionType
impl Send for ConvolutionType
impl Sync for ConvolutionType
impl Unpin for ConvolutionType
impl UnsafeUnpin for ConvolutionType
impl UnwindSafe for ConvolutionType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more