pub struct PredictorDims {
pub num_layers: usize,
pub num_q_heads: usize,
pub num_kv_heads: usize,
pub head_dim: usize,
pub r: usize,
pub block_size: usize,
pub max_blocks: usize,
}Fields§
§num_layers: usize§num_q_heads: usize§num_kv_heads: usize§head_dim: usize§r: usize§block_size: usize§max_blocks: usizeImplementations§
Trait Implementations§
Source§impl Clone for PredictorDims
impl Clone for PredictorDims
Source§fn clone(&self) -> PredictorDims
fn clone(&self) -> PredictorDims
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 Debug for PredictorDims
impl Debug for PredictorDims
impl Copy for PredictorDims
Auto Trait Implementations§
impl Freeze for PredictorDims
impl RefUnwindSafe for PredictorDims
impl Send for PredictorDims
impl Sync for PredictorDims
impl Unpin for PredictorDims
impl UnwindSafe for PredictorDims
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