pub struct LoadingStrategy {}
Expand description
Loads the content of all the tensor view using all planes, iterating with steps determined by the plane’s dimension.
Trait Implementations§
Source§impl Clone for LoadingStrategy
impl Clone for LoadingStrategy
Source§fn clone(&self) -> LoadingStrategy
fn clone(&self) -> LoadingStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CubeType for LoadingStrategy
impl CubeType for LoadingStrategy
type ExpandType = LoadingStrategyExpand
Source§fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Source§impl LoadingValidation for LoadingStrategy
impl LoadingValidation for LoadingStrategy
fn check<C: GlobalConfig>( config: &C, ident: Ident, ) -> Result<(), InvalidConfigError>
Source§impl SyncFullLoadingStrategy for LoadingStrategy
impl SyncFullLoadingStrategy for LoadingStrategy
Source§type TilingLayout = StridedTilingLayout
type TilingLayout = StridedTilingLayout
The layout describing how data is tiled across the stage.
Source§type Job<MP: MatmulPrecision> = Job
type Job<MP: MatmulPrecision> = Job
The LoadingJob for this strategy.
Source§fn new_job<MP: MatmulPrecision, G: GlobalConfig>(
input_ident: InputIdent,
config: G,
) -> Self::Job<MP>
fn new_job<MP: MatmulPrecision, G: GlobalConfig>( input_ident: InputIdent, config: G, ) -> Self::Job<MP>
Returns the job with preliminary calculations done.
fn __expand_new_job<MP: MatmulPrecision, G: GlobalConfig>( context: &mut Scope, input_ident: InputIdent, config: G, ) -> <Self::Job<MP> as CubeType>::ExpandType
impl Copy for LoadingStrategy
Auto Trait Implementations§
impl Freeze for LoadingStrategy
impl RefUnwindSafe for LoadingStrategy
impl Send for LoadingStrategy
impl Sync for LoadingStrategy
impl Unpin for LoadingStrategy
impl UnwindSafe for LoadingStrategy
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