pub struct MappedTensorReaderExpand<EG: Numeric> {
pub tensor: <TensorMap<EG> as CubeType>::ExpandType,
pub tile_x: <u32 as CubeType>::ExpandType,
pub tile_y: <u32 as CubeType>::ExpandType,
pub batch: <u32 as CubeType>::ExpandType,
}
Fields§
§tensor: <TensorMap<EG> as CubeType>::ExpandType
§tile_x: <u32 as CubeType>::ExpandType
§tile_y: <u32 as CubeType>::ExpandType
§batch: <u32 as CubeType>::ExpandType
Implementations§
Source§impl<EG: Numeric> MappedTensorReaderExpand<EG>
impl<EG: Numeric> MappedTensorReaderExpand<EG>
pub fn __expand_update_view_method( self, context: &mut Scope, k_offset: <u32 as CubeType>::ExpandType, ident: Ident, ) -> <() as CubeType>::ExpandType
pub fn __expand_new( context: &mut Scope, tensor: <TensorMap<EG> as CubeType>::ExpandType, tile_x: <u32 as CubeType>::ExpandType, tile_y: <u32 as CubeType>::ExpandType, batch: <u32 as CubeType>::ExpandType, ) -> Self
pub fn __expand_update_view( context: &mut Scope, this: Self, k_offset: <u32 as CubeType>::ExpandType, ident: Ident, ) -> <() as CubeType>::ExpandType
Trait Implementations§
Source§impl<EG: Numeric> Clone for MappedTensorReaderExpand<EG>
impl<EG: Numeric> Clone for MappedTensorReaderExpand<EG>
Source§impl<EG: Numeric> CubeDebug for MappedTensorReaderExpand<EG>
impl<EG: Numeric> CubeDebug for MappedTensorReaderExpand<EG>
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<EG> Freeze for MappedTensorReaderExpand<EG>
impl<EG> RefUnwindSafe for MappedTensorReaderExpand<EG>where
EG: RefUnwindSafe,
impl<EG> !Send for MappedTensorReaderExpand<EG>
impl<EG> !Sync for MappedTensorReaderExpand<EG>
impl<EG> Unpin for MappedTensorReaderExpand<EG>where
EG: Unpin,
impl<EG> UnwindSafe for MappedTensorReaderExpand<EG>where
EG: 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