pub struct MaxPool3d<D: Dtype, IT, OT, const RANK: usize> {
pub kernel_d: usize,
pub kernel_h: usize,
pub kernel_w: usize,
pub stride_d: usize,
pub stride_h: usize,
pub stride_w: usize,
/* private fields */
}Expand description
3-D max pooling.
Fields§
§kernel_d: usizePooling window depth.
kernel_h: usizePooling window height.
kernel_w: usizePooling window width.
stride_d: usizeStride along the depth dimension.
stride_h: usizeStride along the height dimension.
stride_w: usizeStride along the width dimension.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<D, IT, OT, const RANK: usize> Freeze for MaxPool3d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> RefUnwindSafe for MaxPool3d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> Send for MaxPool3d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> Sync for MaxPool3d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> Unpin for MaxPool3d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> UnsafeUnpin for MaxPool3d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> UnwindSafe for MaxPool3d<D, IT, OT, RANK>
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