pub struct MaxPool2d { /* private fields */ }Expand description
2D Max Pooling
Performs max pooling over spatial dimensions with configurable kernel size, stride, and padding.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MaxPool2d
impl RefUnwindSafe for MaxPool2d
impl Send for MaxPool2d
impl Sync for MaxPool2d
impl Unpin for MaxPool2d
impl UnsafeUnpin for MaxPool2d
impl UnwindSafe for MaxPool2d
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