pub struct KdaShardedSource<'a> { /* private fields */ }Expand description
A KdaTensorSource that yields this rank’s slice of every KDA tensor.
Wrap the full-checkpoint source in this and hand it to bind_kda_weights unchanged.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for KdaShardedSource<'a>
impl<'a> !RefUnwindSafe for KdaShardedSource<'a>
impl<'a> !Send for KdaShardedSource<'a>
impl<'a> !Sync for KdaShardedSource<'a>
impl<'a> Unpin for KdaShardedSource<'a>
impl<'a> !UnwindSafe for KdaShardedSource<'a>
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