pub struct PoolParams {
pub mode: PoolMode,
pub window: Vec<i64>,
pub pre_padding: Vec<i64>,
pub post_padding: Vec<i64>,
pub stride: Vec<i64>,
}Expand description
Pooling parameter struct, dim-generic.
Fields§
§mode: PoolMode§window: Vec<i64>Window per spatial dim.
pre_padding: Vec<i64>§post_padding: Vec<i64>§stride: Vec<i64>Implementations§
Trait Implementations§
Source§impl Clone for PoolParams
impl Clone for PoolParams
Source§fn clone(&self) -> PoolParams
fn clone(&self) -> PoolParams
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 PoolParams
impl Debug for PoolParams
Source§impl Hash for PoolParams
impl Hash for PoolParams
Source§impl PartialEq for PoolParams
impl PartialEq for PoolParams
impl Eq for PoolParams
impl StructuralPartialEq for PoolParams
Auto Trait Implementations§
impl Freeze for PoolParams
impl RefUnwindSafe for PoolParams
impl Send for PoolParams
impl Sync for PoolParams
impl Unpin for PoolParams
impl UnsafeUnpin for PoolParams
impl UnwindSafe for PoolParams
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more