Skip to main content

dv_model_t

Type Alias dv_model_t 

Source
pub type dv_model_t = dv_model;

Aliased Type§

#[repr(C)]
pub struct dv_model_t {
Show 17 fields pub handle: *mut dv_model_handle, pub session: *mut dv_session, pub endpoint: *mut dv_endpoint, pub version: dv_version, pub name: *mut u8, pub model_type: u32, pub internal_name: *mut u8, pub num_inputs: i32, pub num_outputs: i32, pub priority: u32, pub input_param: *mut dv_model_input_param, pub output_param: *mut dv_model_output_param, pub llm_params: *mut dv_model_llm_params, pub num_compiler_config: i32, pub compiler_stats: *mut dv_compiler_statistics, pub model_load_options: *mut dv_model_options, pub cp_layer: bool,
}

Fields§

§handle: *mut dv_model_handle

< private handle, managed by client library

§session: *mut dv_session

< session handle on which model is loaded

§endpoint: *mut dv_endpoint

< endpoint handle on which model is loaded

§version: dv_version

< model version as generated by compiler

§name: *mut u8

< model name provided by user

§model_type: u32

< model type

§internal_name: *mut u8

< internal model name as generated by compiler

§num_inputs: i32

< number of inputs needed by model

§num_outputs: i32

< number of output produced by model

§priority: u32

< model priority as set by user [unused]

§input_param: *mut dv_model_input_param

< list of input params

§output_param: *mut dv_model_output_param

< list of output params

§llm_params: *mut dv_model_llm_params

< list of llm params, valid if model is llm model

§num_compiler_config: i32

< [unsupported]

§compiler_stats: *mut dv_compiler_statistics

< [unsupported]

§model_load_options: *mut dv_model_options

< [unsupported]

§cp_layer: bool

< [unsupported]