pub struct PoolShape {
pub kernel_h: i64,
pub kernel_w: i64,
pub stride_h: i64,
pub stride_w: i64,
}Expand description
Pooling shape parameters.
Fields§
§kernel_h: i64Kernel height.
kernel_w: i64Kernel width.
stride_h: i64Vertical stride.
stride_w: i64Horizontal stride.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PoolShape
impl RefUnwindSafe for PoolShape
impl Send for PoolShape
impl Sync for PoolShape
impl Unpin for PoolShape
impl UnsafeUnpin for PoolShape
impl UnwindSafe for PoolShape
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