pub struct Window<'a> {
pub dimensions: &'a [usize],
pub strides: &'a [usize],
pub padding: &'a [(i64, i64)],
pub base_dilation: &'a [usize],
pub window_dilation: &'a [usize],
}Expand description
The window of a windowed reduction: one entry per operand dimension.
Fields§
§dimensions: &'a [usize]The size of the window.
strides: &'a [usize]The step between windows.
padding: &'a [(i64, i64)](low, high) padding of the (dilated) operand.
base_dilation: &'a [usize]The dilation of the operand (d - 1 holes between elements).
window_dilation: &'a [usize]The dilation of the window.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Window<'a>
impl<'a> RefUnwindSafe for Window<'a>
impl<'a> Send for Window<'a>
impl<'a> Sync for Window<'a>
impl<'a> Unpin for Window<'a>
impl<'a> UnsafeUnpin for Window<'a>
impl<'a> UnwindSafe for Window<'a>
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