Struct juice::layers::common::convolution::ConvolutionConfig
source · pub struct ConvolutionConfig {
pub num_output: usize,
pub filter_shape: Vec<usize>,
pub stride: Vec<usize>,
pub padding: Vec<usize>,
}
Expand description
Specifies configuration parameters for a Convolution Layer.
Fields§
§num_output: usize
The number of output feature maps
filter_shape: Vec<usize>
The size of the kernel
stride: Vec<usize>
The stride size
padding: Vec<usize>
The padding size
Trait Implementations§
source§impl Clone for ConvolutionConfig
impl Clone for ConvolutionConfig
source§fn clone(&self) -> ConvolutionConfig
fn clone(&self) -> ConvolutionConfig
Returns a copy 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 ConvolutionConfig
impl Debug for ConvolutionConfig
Auto Trait Implementations§
impl RefUnwindSafe for ConvolutionConfig
impl Send for ConvolutionConfig
impl Sync for ConvolutionConfig
impl Unpin for ConvolutionConfig
impl UnwindSafe for ConvolutionConfig
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