#[repr(C)]pub struct llama_quant_model_desc {
pub architecture: *const c_char,
pub n_embd: u32,
pub n_ff: u32,
pub n_layer: u32,
pub n_head: u32,
pub n_head_kv: u32,
pub n_expert: u32,
pub n_embd_head_k: u32,
pub n_embd_head_v: u32,
}Fields§
§architecture: *const c_char§n_embd: u32§n_ff: u32§n_layer: u32§n_head: u32§n_head_kv: u32§n_expert: u32§n_embd_head_k: u32§n_embd_head_v: u32Trait Implementations§
Source§impl Clone for llama_quant_model_desc
impl Clone for llama_quant_model_desc
Source§fn clone(&self) -> llama_quant_model_desc
fn clone(&self) -> llama_quant_model_desc
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 moreSource§impl Debug for llama_quant_model_desc
impl Debug for llama_quant_model_desc
Source§impl PartialEq for llama_quant_model_desc
impl PartialEq for llama_quant_model_desc
Source§fn eq(&self, other: &llama_quant_model_desc) -> bool
fn eq(&self, other: &llama_quant_model_desc) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for llama_quant_model_desc
impl StructuralPartialEq for llama_quant_model_desc
Auto Trait Implementations§
impl Freeze for llama_quant_model_desc
impl RefUnwindSafe for llama_quant_model_desc
impl !Send for llama_quant_model_desc
impl !Sync for llama_quant_model_desc
impl Unpin for llama_quant_model_desc
impl UnsafeUnpin for llama_quant_model_desc
impl UnwindSafe for llama_quant_model_desc
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