pub struct BiasReaderExpand<E: Numeric> {
pub tensor: <VirtualTensor<E> as CubeType>::ExpandType,
pub n_offset: <u32 as CubeType>::ExpandType,
pub shape_n: <u32 as CubeType>::ExpandType,
}
Fields§
§tensor: <VirtualTensor<E> as CubeType>::ExpandType
§n_offset: <u32 as CubeType>::ExpandType
§shape_n: <u32 as CubeType>::ExpandType
Implementations§
Source§impl<E: Numeric> BiasReaderExpand<E>
impl<E: Numeric> BiasReaderExpand<E>
pub fn __expand_load_simple_method<G: GlobalConfig>( self, context: &mut Scope, unit_id: <u32 as CubeType>::ExpandType, line_size: u32, ) -> <Line<E> as CubeType>::ExpandType
pub fn __expand_new( context: &mut Scope, tensor: <VirtualTensor<E> as CubeType>::ExpandType, n_offset: <u32 as CubeType>::ExpandType, shape_n: <u32 as CubeType>::ExpandType, ) -> <BiasReader<E> as CubeType>::ExpandType
pub fn __expand_load_simple<G: GlobalConfig>( context: &mut Scope, this: Self, unit_id: <u32 as CubeType>::ExpandType, line_size: u32, ) -> <Line<E> as CubeType>::ExpandType
Trait Implementations§
Source§impl<E: Numeric> Clone for BiasReaderExpand<E>
impl<E: Numeric> Clone for BiasReaderExpand<E>
Source§impl<E: Numeric> CubeDebug for BiasReaderExpand<E>
impl<E: Numeric> CubeDebug for BiasReaderExpand<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 BiasReaderExpand<E>
impl<E> !RefUnwindSafe for BiasReaderExpand<E>
impl<E> !Send for BiasReaderExpand<E>
impl<E> !Sync for BiasReaderExpand<E>
impl<E> Unpin for BiasReaderExpand<E>
impl<E> !UnwindSafe for BiasReaderExpand<E>
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