pub struct UnitTileExpand<E: Numeric> {
pub data: <Array<E> as CubeType>::ExpandType,
pub layout: UnitTileLayout,
}Fields§
§data: <Array<E> as CubeType>::ExpandType§layout: UnitTileLayoutImplementations§
Source§impl<E: Numeric> UnitTileExpand<E>
impl<E: Numeric> UnitTileExpand<E>
pub fn __expand_clone_method(&self, _scope: &mut Scope) -> Self
Source§impl<E: Numeric> UnitTileExpand<E>
impl<E: Numeric> UnitTileExpand<E>
pub fn __expand_zero_method( self, scope: &mut Scope, ) -> <() as CubeType>::ExpandType
pub fn __expand_get_method( self, scope: &mut Scope, row: <u32 as CubeType>::ExpandType, col: <u32 as CubeType>::ExpandType, ) -> <E as CubeType>::ExpandType
pub fn __expand_accumulate_method( self, scope: &mut Scope, row: <u32 as CubeType>::ExpandType, col: <u32 as CubeType>::ExpandType, val: <E as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_rowwise_scale_method( self, scope: &mut Scope, scale: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_rowwise_max_method( self, scope: &mut Scope, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_rowwise_sum_method( self, scope: &mut Scope, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_copy_from_method<E2: Numeric>( self, scope: &mut Scope, other: <UnitTile<E2> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_load_from_strided_tile_method<E2: Numeric, ES: Size>( self, scope: &mut Scope, tile: <StridedTile<E2, ES> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_scale_and_mask_method<M: Mask>( self, scope: &mut Scope, scale: <E as CubeType>::ExpandType, mask: <M as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_new( scope: &mut Scope, layout: UnitTileLayout, ) -> <UnitTile<E> as CubeType>::ExpandType
pub fn __expand_zero( scope: &mut Scope, this: Self, ) -> <() as CubeType>::ExpandType
pub fn __expand_get( scope: &mut Scope, this: Self, row: <u32 as CubeType>::ExpandType, col: <u32 as CubeType>::ExpandType, ) -> <E as CubeType>::ExpandType
pub fn __expand_accumulate( scope: &mut Scope, this: Self, row: <u32 as CubeType>::ExpandType, col: <u32 as CubeType>::ExpandType, val: <E as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_rowwise_scale( scope: &mut Scope, this: Self, scale: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_rowwise_max( scope: &mut Scope, this: Self, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_rowwise_sum( scope: &mut Scope, this: Self, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_copy_from<E2: Numeric>( scope: &mut Scope, this: Self, other: <UnitTile<E2> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_load_from_strided_tile<E2: Numeric, ES: Size>( scope: &mut Scope, this: Self, tile: <StridedTile<E2, ES> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_scale_and_mask<M: Mask>( scope: &mut Scope, this: Self, scale: <E as CubeType>::ExpandType, mask: <M as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
Source§impl<E: Float> UnitTileExpand<E>
impl<E: Float> UnitTileExpand<E>
pub fn __expand_exp_diff_method( self, scope: &mut Scope, rowwise: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_exp_diff( scope: &mut Scope, this: Self, rowwise: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
Trait Implementations§
Source§impl<E: Numeric> Clone for UnitTileExpand<E>
impl<E: Numeric> Clone for UnitTileExpand<E>
Source§impl<E: Numeric> CubeDebug for UnitTileExpand<E>
impl<E: Numeric> CubeDebug for UnitTileExpand<E>
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
Auto Trait Implementations§
impl<E> Freeze for UnitTileExpand<E>
impl<E> RefUnwindSafe for UnitTileExpand<E>where
E: RefUnwindSafe,
impl<E> !Send for UnitTileExpand<E>
impl<E> !Sync for UnitTileExpand<E>
impl<E> Unpin for UnitTileExpand<E>where
E: Unpin,
impl<E> UnsafeUnpin for UnitTileExpand<E>
impl<E> UnwindSafe for UnitTileExpand<E>where
E: UnwindSafe,
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