#[repr(C)]pub struct OrtMIGraphXProviderOptions {
pub device_id: c_int,
pub migraphx_fp16_enable: c_int,
pub migraphx_int8_enable: c_int,
pub migraphx_use_native_calibration_table: c_int,
pub migraphx_int8_calibration_table_name: *const c_char,
pub migraphx_save_compiled_model: c_int,
pub migraphx_save_model_path: *const c_char,
pub migraphx_load_compiled_model: c_int,
pub migraphx_load_model_path: *const c_char,
pub migraphx_exhaustive_tune: bool,
}Expand description
\brief MIGraphX Provider Options
\see OrtApi::SessionOptionsAppendExecutionProvider_MIGraphX
Fields§
§device_id: c_int§migraphx_fp16_enable: c_int§migraphx_int8_enable: c_int§migraphx_use_native_calibration_table: c_int§migraphx_int8_calibration_table_name: *const c_char§migraphx_save_compiled_model: c_int§migraphx_save_model_path: *const c_char§migraphx_load_compiled_model: c_int§migraphx_load_model_path: *const c_char§migraphx_exhaustive_tune: boolTrait Implementations§
Source§impl Clone for OrtMIGraphXProviderOptions
impl Clone for OrtMIGraphXProviderOptions
Source§fn clone(&self) -> OrtMIGraphXProviderOptions
fn clone(&self) -> OrtMIGraphXProviderOptions
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 OrtMIGraphXProviderOptions
impl Debug for OrtMIGraphXProviderOptions
impl Copy for OrtMIGraphXProviderOptions
Auto Trait Implementations§
impl Freeze for OrtMIGraphXProviderOptions
impl RefUnwindSafe for OrtMIGraphXProviderOptions
impl !Send for OrtMIGraphXProviderOptions
impl !Sync for OrtMIGraphXProviderOptions
impl Unpin for OrtMIGraphXProviderOptions
impl UnwindSafe for OrtMIGraphXProviderOptions
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