Struct onnxruntime_sys::OrtTensorRTProviderOptions [−][src]
#[repr(C)]pub struct OrtTensorRTProviderOptions {}Show 18 fields
pub device_id: c_int, pub has_user_compute_stream: c_int, pub user_compute_stream: *mut c_void, pub trt_max_partition_iterations: c_int, pub trt_min_subgraph_size: c_int, pub trt_max_workspace_size: usize, pub trt_fp16_enable: c_int, pub trt_int8_enable: c_int, pub trt_int8_calibration_table_name: *const c_char, pub trt_int8_use_native_calibration_table: c_int, pub trt_dla_enable: c_int, pub trt_dla_core: c_int, pub trt_dump_subgraphs: c_int, pub trt_engine_cache_enable: c_int, pub trt_engine_cache_path: *const c_char, pub trt_engine_decryption_enable: c_int, pub trt_engine_decryption_lib_path: *const c_char, pub trt_force_sequential_engine_build: c_int,
Expand description
Options for the TensorRT provider that are passed to SessionOptionsAppendExecutionProvider_TensorRT
Fields
device_id: c_int
has_user_compute_stream: c_int
user_compute_stream: *mut c_void
trt_max_partition_iterations: c_int
trt_min_subgraph_size: c_int
trt_max_workspace_size: usize
trt_fp16_enable: c_int
trt_int8_enable: c_int
trt_int8_calibration_table_name: *const c_char
trt_int8_use_native_calibration_table: c_int
trt_dla_enable: c_int
trt_dla_core: c_int
trt_dump_subgraphs: c_int
trt_engine_cache_enable: c_int
trt_engine_cache_path: *const c_char
trt_engine_decryption_enable: c_int
trt_engine_decryption_lib_path: *const c_char
trt_force_sequential_engine_build: c_int
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OrtTensorRTProviderOptions
impl !Send for OrtTensorRTProviderOptions
impl !Sync for OrtTensorRTProviderOptions
impl Unpin for OrtTensorRTProviderOptions
impl UnwindSafe for OrtTensorRTProviderOptions
Blanket Implementations
Mutably borrows from an owned value. Read more