pub struct ConvWindow<'a> {
pub strides: &'a [usize],
pub padding: &'a [(i64, i64)],
pub lhs_dilation: &'a [usize],
pub rhs_dilation: &'a [usize],
}Expand description
The window of a convolution: one entry per spatial dimension.
Fields§
§strides: &'a [usize]The step between windows.
padding: &'a [(i64, i64)](low, high) padding of the (dilated) input; negative padding
removes elements.
lhs_dilation: &'a [usize]The dilation of the input (d - 1 holes between elements).
rhs_dilation: &'a [usize]The dilation of the kernel.
Trait Implementations§
Source§impl<'a> Clone for ConvWindow<'a>
impl<'a> Clone for ConvWindow<'a>
impl<'a> Copy for ConvWindow<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConvWindow<'a>
impl<'a> RefUnwindSafe for ConvWindow<'a>
impl<'a> Send for ConvWindow<'a>
impl<'a> Sync for ConvWindow<'a>
impl<'a> Unpin for ConvWindow<'a>
impl<'a> UnsafeUnpin for ConvWindow<'a>
impl<'a> UnwindSafe for ConvWindow<'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