#[repr(C)]struct AttnGemmParams {
kv_row: u32,
blocks_per_row: u32,
head: u32,
kl: u32,
kl_pad: u32,
scale_off: u32,
base: u32,
nb: u32,
n_rep: u32,
scale: f32,
}Fields§
§kv_row: u32§blocks_per_row: u32§head: u32§kl: u32§kl_pad: u32§scale_off: u32§base: u32§nb: u32§n_rep: u32§scale: f32Trait Implementations§
Source§impl Clone for AttnGemmParams
impl Clone for AttnGemmParams
Source§fn clone(&self) -> AttnGemmParams
fn clone(&self) -> AttnGemmParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AttnGemmParams
Auto Trait Implementations§
impl Freeze for AttnGemmParams
impl RefUnwindSafe for AttnGemmParams
impl Send for AttnGemmParams
impl Sync for AttnGemmParams
impl Unpin for AttnGemmParams
impl UnsafeUnpin for AttnGemmParams
impl UnwindSafe for AttnGemmParams
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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