#[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
impl Copy for llama_quant_model_desc
Source§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
impl StructuralPartialEq for llama_quant_model_desc
Auto Trait Implementations§
impl !Send for llama_quant_model_desc
impl !Sync for llama_quant_model_desc
impl Freeze for llama_quant_model_desc
impl RefUnwindSafe 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