Struct PleBlockBuffers
pub struct PleBlockBuffers<'a> {Show 13 fields
pub raw_ple_row: &'a mut [u8],
pub raw_trunk_row: &'a mut [u8],
pub projection_row: &'a mut [f32],
pub embedding: &'a mut [f32],
pub key: &'a mut [f32],
pub value: &'a mut [f32],
pub query_norm: &'a mut [f32],
pub gated: &'a mut [f32],
pub conv_norm: &'a mut [f32],
pub conv_weights: &'a mut [f32],
pub norm_key: &'a mut [f32],
pub norm_query: &'a mut [f32],
pub norm_conv: &'a mut [f32],
}Expand description
All hot-path PLE storage is provided by the decode owner. The block does not allocate or retain any of these vectors.
Fields§
§raw_ple_row: &'a mut [u8]§raw_trunk_row: &'a mut [u8]§projection_row: &'a mut [f32]§embedding: &'a mut [f32]§key: &'a mut [f32]§value: &'a mut [f32]§query_norm: &'a mut [f32]§gated: &'a mut [f32]§conv_norm: &'a mut [f32]§conv_weights: &'a mut [f32]§norm_key: &'a mut [f32]§norm_query: &'a mut [f32]§norm_conv: &'a mut [f32]Auto Trait Implementations§
impl<'a> !UnwindSafe for PleBlockBuffers<'a>
impl<'a> Freeze for PleBlockBuffers<'a>
impl<'a> RefUnwindSafe for PleBlockBuffers<'a>
impl<'a> Send for PleBlockBuffers<'a>
impl<'a> Sync for PleBlockBuffers<'a>
impl<'a> Unpin for PleBlockBuffers<'a>
impl<'a> UnsafeUnpin for PleBlockBuffers<'a>
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