Struct ort::ROCmExecutionProvider
source · pub struct ROCmExecutionProvider { /* private fields */ }
Implementations§
source§impl ROCmExecutionProvider
impl ROCmExecutionProvider
pub fn with_device_id(self, device_id: i32) -> Self
pub fn with_exhaustive_conv_search(self) -> Self
pub fn with_mem_limit(self, limit: usize) -> Self
pub fn with_arena_extend_strategy(self, strategy: ArenaExtendStrategy) -> Self
pub fn with_copy_in_default_stream(self, enable: bool) -> Self
pub fn with_compute_stream(self, ptr: *mut c_void) -> Self
pub fn with_default_memory_arena_cfg(self, cfg: *mut OrtArenaCfg) -> Self
pub fn with_tunable_op(self, enable: bool) -> Self
pub fn with_tuning(self, enable: bool) -> Self
pub fn with_max_tuning_duration(self, ms: i32) -> Self
pub fn build(self) -> ExecutionProviderDispatch
Trait Implementations§
source§impl Clone for ROCmExecutionProvider
impl Clone for ROCmExecutionProvider
source§fn clone(&self) -> ROCmExecutionProvider
fn clone(&self) -> ROCmExecutionProvider
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 ROCmExecutionProvider
impl Debug for ROCmExecutionProvider
source§impl Default for ROCmExecutionProvider
impl Default for ROCmExecutionProvider
source§impl ExecutionProvider for ROCmExecutionProvider
impl ExecutionProvider for ROCmExecutionProvider
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<ROCmExecutionProvider> for ExecutionProviderDispatch
impl From<ROCmExecutionProvider> for ExecutionProviderDispatch
source§fn from(value: ROCmExecutionProvider) -> Self
fn from(value: ROCmExecutionProvider) -> Self
Converts to this type from the input type.
impl Send for ROCmExecutionProvider
impl Sync for ROCmExecutionProvider
Auto Trait Implementations§
impl Freeze for ROCmExecutionProvider
impl RefUnwindSafe for ROCmExecutionProvider
impl Unpin for ROCmExecutionProvider
impl UnwindSafe for ROCmExecutionProvider
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