pub struct PoolingConfig {
pub mode: PoolingMode,
pub filter_shape: Vec<usize>,
pub stride: Vec<usize>,
pub padding: Vec<usize>,
}
Expand description
Specifies configuration parameters for a Pooling Layer.
Fields§
§mode: PoolingMode
The PoolingMode to use
filter_shape: Vec<usize>
The shape of the filter
stride: Vec<usize>
The stride size
padding: Vec<usize>
The padding size
Trait Implementations§
source§impl Clone for PoolingConfig
impl Clone for PoolingConfig
source§fn clone(&self) -> PoolingConfig
fn clone(&self) -> PoolingConfig
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 PoolingConfig
impl Debug for PoolingConfig
Auto Trait Implementations§
impl RefUnwindSafe for PoolingConfig
impl Send for PoolingConfig
impl Sync for PoolingConfig
impl Unpin for PoolingConfig
impl UnwindSafe for PoolingConfig
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