#[repr(C)]pub struct Im2Col2dParams {Show 20 fields
pub c_in: u32,
pub h: u32,
pub w: u32,
pub h_out: u32,
pub w_out: u32,
pub kh: u32,
pub kw: u32,
pub sh: u32,
pub sw: u32,
pub ph: u32,
pub pw: u32,
pub dh: u32,
pub dw: u32,
pub in_off: u32,
pub col_off: u32,
pub k_total: u32,
pub spatial: u32,
pub _p0: u32,
pub _p1: u32,
pub _p2: u32,
}Expand description
Layout for GPU im2col (NCHW, N==1, groups==1). 80 bytes (20 u32).
Fields§
§c_in: u32§h: u32§w: u32§h_out: u32§w_out: u32§kh: u32§kw: u32§sh: u32§sw: u32§ph: u32§pw: u32§dh: u32§dw: u32§in_off: u32§col_off: u32§k_total: u32§spatial: u32§_p0: u32§_p1: u32§_p2: u32Trait Implementations§
Source§impl Clone for Im2Col2dParams
impl Clone for Im2Col2dParams
Source§fn clone(&self) -> Im2Col2dParams
fn clone(&self) -> Im2Col2dParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Im2Col2dParams
Source§impl Debug for Im2Col2dParams
impl Debug for Im2Col2dParams
impl Pod for Im2Col2dParams
Auto Trait Implementations§
impl Freeze for Im2Col2dParams
impl RefUnwindSafe for Im2Col2dParams
impl Send for Im2Col2dParams
impl Sync for Im2Col2dParams
impl Unpin for Im2Col2dParams
impl UnsafeUnpin for Im2Col2dParams
impl UnwindSafe for Im2Col2dParams
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more