#[repr(C)]pub struct llama_model_quantize_params {
pub nthread: i32,
pub ftype: llama_ftype,
pub output_tensor_type: ggml_type,
pub token_embedding_type: ggml_type,
pub allow_requantize: bool,
pub quantize_output_tensor: bool,
pub only_copy: bool,
pub pure_: bool,
pub keep_split: bool,
pub imatrix: *mut c_void,
pub kv_overrides: *mut c_void,
}
Fields§
§nthread: i32
§ftype: llama_ftype
§output_tensor_type: ggml_type
§token_embedding_type: ggml_type
§allow_requantize: bool
§quantize_output_tensor: bool
§only_copy: bool
§pure_: bool
§keep_split: bool
§imatrix: *mut c_void
§kv_overrides: *mut c_void
Trait Implementations§
Source§impl Clone for llama_model_quantize_params
impl Clone for llama_model_quantize_params
Source§fn clone(&self) -> llama_model_quantize_params
fn clone(&self) -> llama_model_quantize_params
Returns a copy 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 llama_model_quantize_params
impl Debug for llama_model_quantize_params
impl Copy for llama_model_quantize_params
impl StructuralPartialEq for llama_model_quantize_params
Auto Trait Implementations§
impl Freeze for llama_model_quantize_params
impl RefUnwindSafe for llama_model_quantize_params
impl !Send for llama_model_quantize_params
impl !Sync for llama_model_quantize_params
impl Unpin for llama_model_quantize_params
impl UnwindSafe for llama_model_quantize_params
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