#[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 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
§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
source§impl PartialEq for llama_model_quantize_params
impl PartialEq for llama_model_quantize_params
source§fn eq(&self, other: &llama_model_quantize_params) -> bool
fn eq(&self, other: &llama_model_quantize_params) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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