pub struct MIGraphXExecutionProvider { /* private fields */ }
Implementations§
Source§impl MIGraphXExecutionProvider
impl MIGraphXExecutionProvider
pub fn with_device_id(self, device_id: i32) -> Self
pub fn with_fp16(self) -> Self
pub fn with_int8(self) -> Self
pub fn with_native_calibration_table( self, table_name: Option<impl AsRef<str>>, ) -> Self
pub fn with_save_model(self, path: impl AsRef<str>) -> Self
pub fn with_load_model(self, path: impl AsRef<str>) -> Self
pub fn with_exhaustive_tune(self, enable: bool) -> Self
pub fn build(self) -> ExecutionProviderDispatch
Trait Implementations§
Source§impl Clone for MIGraphXExecutionProvider
impl Clone for MIGraphXExecutionProvider
Source§fn clone(&self) -> MIGraphXExecutionProvider
fn clone(&self) -> MIGraphXExecutionProvider
Returns a copy 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 MIGraphXExecutionProvider
impl Debug for MIGraphXExecutionProvider
Source§impl Default for MIGraphXExecutionProvider
impl Default for MIGraphXExecutionProvider
Source§fn default() -> MIGraphXExecutionProvider
fn default() -> MIGraphXExecutionProvider
Returns the “default value” for a type. Read more
Source§impl ExecutionProvider for MIGraphXExecutionProvider
impl ExecutionProvider for MIGraphXExecutionProvider
Source§fn as_str(&self) -> &'static str
fn as_str(&self) -> &'static str
Returns the identifier of this execution provider used internally by ONNX Runtime. Read more
Source§fn supported_by_platform(&self) -> bool
fn supported_by_platform(&self) -> bool
Returns whether this execution provider is supported on this platform. Read more
Source§impl From<MIGraphXExecutionProvider> for ExecutionProviderDispatch
impl From<MIGraphXExecutionProvider> for ExecutionProviderDispatch
Source§fn from(value: MIGraphXExecutionProvider) -> Self
fn from(value: MIGraphXExecutionProvider) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MIGraphXExecutionProvider
impl RefUnwindSafe for MIGraphXExecutionProvider
impl Send for MIGraphXExecutionProvider
impl Sync for MIGraphXExecutionProvider
impl Unpin for MIGraphXExecutionProvider
impl UnwindSafe for MIGraphXExecutionProvider
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