#[repr(C)]pub struct dv_infer_options {
pub enable_stats: bool,
pub infer_type: dv_infer_type_t,
pub active_tokens: u64,
pub valid_tokens: u32,
pub tokens_to_skip: u32,
}Fields§
§enable_stats: bool§infer_type: dv_infer_type_t< specify the model type, if not specified it will be DV_MODEL_TYPE_ARA2_CNN
active_tokens: u64§valid_tokens: u32§tokens_to_skip: u32Trait Implementations§
Source§impl Clone for dv_infer_options
impl Clone for dv_infer_options
Source§fn clone(&self) -> dv_infer_options
fn clone(&self) -> dv_infer_options
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_infer_options
impl Debug for dv_infer_options
impl Copy for dv_infer_options
Auto Trait Implementations§
impl Freeze for dv_infer_options
impl RefUnwindSafe for dv_infer_options
impl Send for dv_infer_options
impl Sync for dv_infer_options
impl Unpin for dv_infer_options
impl UnsafeUnpin for dv_infer_options
impl UnwindSafe for dv_infer_options
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