pub struct MaxPool1d<D: Dtype, IT, OT, const RANK: usize> {
pub kernel_l: usize,
pub stride: usize,
/* private fields */
}Expand description
1-D max pooling.
Fields§
§kernel_l: usizeThe pooling window length.
stride: usizeThe stride between pooling windows.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<D, IT, OT, const RANK: usize> Freeze for MaxPool1d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> RefUnwindSafe for MaxPool1d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> Send for MaxPool1d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> Sync for MaxPool1d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> Unpin for MaxPool1d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> UnsafeUnpin for MaxPool1d<D, IT, OT, RANK>
impl<D, IT, OT, const RANK: usize> UnwindSafe for MaxPool1d<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