pub enum PoolingMode {
Max,
Average,
}
Expand description
The different modes of pooling that can be calculated.
Variants§
Max
The maximum value inside the pooling window will be used as result.
Average
The average of all values inside the pooling window will be used as result.
Trait Implementations§
source§impl Clone for PoolingMode
impl Clone for PoolingMode
source§fn clone(&self) -> PoolingMode
fn clone(&self) -> PoolingMode
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 PoolingMode
impl Debug for PoolingMode
impl Copy for PoolingMode
Auto Trait Implementations§
impl RefUnwindSafe for PoolingMode
impl Send for PoolingMode
impl Sync for PoolingMode
impl Unpin for PoolingMode
impl UnwindSafe for PoolingMode
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