pub struct NhwcLayoutExpand {
    pub stride_batch: <u32 as CubeType>::ExpandType,
    pub strides_spatial: <Sequence<u32> as CubeType>::ExpandType,
    pub stride_channel: <u32 as CubeType>::ExpandType,
    pub shape_batch: <u32 as CubeType>::ExpandType,
    pub shapes_spatial: <Sequence<u32> as CubeType>::ExpandType,
    pub shape_channel: <u32 as CubeType>::ExpandType,
    pub line_size: u32,
    pub check_spatial: bool,
}Fields§
§stride_batch: <u32 as CubeType>::ExpandType§strides_spatial: <Sequence<u32> as CubeType>::ExpandType§stride_channel: <u32 as CubeType>::ExpandType§shape_batch: <u32 as CubeType>::ExpandType§shapes_spatial: <Sequence<u32> as CubeType>::ExpandType§shape_channel: <u32 as CubeType>::ExpandType§line_size: u32§check_spatial: boolTrait Implementations§
Source§impl Clone for NhwcLayoutExpand
 
impl Clone for NhwcLayoutExpand
Source§impl CubeDebug for NhwcLayoutExpand
 
impl CubeDebug for NhwcLayoutExpand
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
 
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Source§impl LayoutExpand for NhwcLayoutExpand
 
impl LayoutExpand for NhwcLayoutExpand
Source§type Coordinates = NhwcCoords
 
type Coordinates = NhwcCoords
The coordinate type used by the conceptual tensor represented by this layout, i.e.
(u32, u32, u32) for a fixed-rank 3D tensor.
This does not have to match the rank of the underlying storage (if applicable).
It’s only how the tensor is interpreted (viewed) by the code.Source§type SourceCoordinates = u32
 
type SourceCoordinates = u32
The coordinate type used by the inner storage wrapped in this layout, i.e. 
u32 for
Array, or (u32, u32) for a 2D view.fn __expand_to_source_pos_method( self, scope: &mut Scope, pos: <Self::Coordinates as CubeType>::ExpandType, ) -> <Self::SourceCoordinates as CubeType>::ExpandType
fn __expand_to_source_pos_checked_method( self, scope: &mut Scope, pos: <Self::Coordinates as CubeType>::ExpandType, ) -> <(Self::SourceCoordinates, bool) as CubeType>::ExpandType
fn __expand_is_in_bounds_method( self, scope: &mut Scope, pos: <Self::Coordinates as CubeType>::ExpandType, ) -> <bool as CubeType>::ExpandType
fn __expand_shape_method( self, scope: &mut Scope, ) -> <Self::Coordinates as CubeType>::ExpandType
Auto Trait Implementations§
impl Freeze for NhwcLayoutExpand
impl !RefUnwindSafe for NhwcLayoutExpand
impl !Send for NhwcLayoutExpand
impl !Sync for NhwcLayoutExpand
impl Unpin for NhwcLayoutExpand
impl !UnwindSafe for NhwcLayoutExpand
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