#[repr(C)]pub struct dv_model_llm_params {
pub vocab_size: u32,
pub embedding_size: u32,
pub input_precision: u32,
pub output_precision: u32,
pub max_num_tokens: u32,
pub is_dynamic: u32,
pub num_inputs: u32,
pub pad_token_id: u32,
pub eos_token_id: u32,
pub bos_token_id: u32,
pub embedding_lookup_addr: u64,
pub embedding_lookup_scale_addr: u64,
}Fields§
§vocab_size: u32§embedding_size: u32§input_precision: u32§output_precision: u32§max_num_tokens: u32§is_dynamic: u32§num_inputs: u32§pad_token_id: u32§eos_token_id: u32§bos_token_id: u32§embedding_lookup_addr: u64§embedding_lookup_scale_addr: u64Trait Implementations§
Source§impl Clone for dv_model_llm_params
impl Clone for dv_model_llm_params
Source§fn clone(&self) -> dv_model_llm_params
fn clone(&self) -> dv_model_llm_params
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 dv_model_llm_params
impl Debug for dv_model_llm_params
impl Copy for dv_model_llm_params
Auto Trait Implementations§
impl Freeze for dv_model_llm_params
impl RefUnwindSafe for dv_model_llm_params
impl Send for dv_model_llm_params
impl Sync for dv_model_llm_params
impl Unpin for dv_model_llm_params
impl UnsafeUnpin for dv_model_llm_params
impl UnwindSafe for dv_model_llm_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