Skip to main content

dv_model_load_options_t

Type Alias dv_model_load_options_t 

Source
pub type dv_model_load_options_t = dv_model_options;

Aliased Type§

#[repr(C)]
pub struct dv_model_load_options_t { pub model_name: *mut u8, pub priority: u32, pub cache: bool, pub async_: bool, pub model_type: u32, }

Fields§

§model_name: *mut u8

< model name

§priority: u32

< priority of the model [unused]

§cache: bool

< if true, the model is cached on disk

§async_: bool

< if true, the model load API immediately return \see dv_model_load_wait_for_completion

§model_type: u32

< specify the model type, if not specified it will be DV_MODEL_TYPE_ARA2_CNN