pub struct GgufCompileWorkspace<'names, 'work> {
pub order: &'names mut [GgufCompileTensor],
pub descriptors: &'work mut [TensorDescriptor<'names>],
pub entries: &'work mut [P64TensorEntry],
pub manifolds: &'work mut [u8],
pub hparams: &'work mut [u8],
}Expand description
Descriptor storage can be inspected after compilation. Its retained names
still borrow order records: reinitialize the whole descriptor array before
rebuilding order. Calling .fill alone does not end that Rust lifetime.
Fields§
§order: &'names mut [GgufCompileTensor]§descriptors: &'work mut [TensorDescriptor<'names>]§entries: &'work mut [P64TensorEntry]§manifolds: &'work mut [u8]§hparams: &'work mut [u8]Auto Trait Implementations§
impl<'names, 'work> !UnwindSafe for GgufCompileWorkspace<'names, 'work>
impl<'names, 'work> Freeze for GgufCompileWorkspace<'names, 'work>
impl<'names, 'work> RefUnwindSafe for GgufCompileWorkspace<'names, 'work>
impl<'names, 'work> Send for GgufCompileWorkspace<'names, 'work>
impl<'names, 'work> Sync for GgufCompileWorkspace<'names, 'work>
impl<'names, 'work> Unpin for GgufCompileWorkspace<'names, 'work>
impl<'names, 'work> UnsafeUnpin for GgufCompileWorkspace<'names, 'work>
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more