Struct ort::XNNPACKExecutionProvider
source · pub struct XNNPACKExecutionProvider { /* private fields */ }
Implementations§
source§impl XNNPACKExecutionProvider
impl XNNPACKExecutionProvider
pub fn with_intra_op_num_threads(self, num_threads: NonZeroUsize) -> Self
pub fn build(self) -> ExecutionProviderDispatch
Trait Implementations§
source§impl Clone for XNNPACKExecutionProvider
impl Clone for XNNPACKExecutionProvider
source§fn clone(&self) -> XNNPACKExecutionProvider
fn clone(&self) -> XNNPACKExecutionProvider
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 XNNPACKExecutionProvider
impl Debug for XNNPACKExecutionProvider
source§impl Default for XNNPACKExecutionProvider
impl Default for XNNPACKExecutionProvider
source§fn default() -> XNNPACKExecutionProvider
fn default() -> XNNPACKExecutionProvider
Returns the “default value” for a type. Read more
source§impl ExecutionProvider for XNNPACKExecutionProvider
impl ExecutionProvider for XNNPACKExecutionProvider
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<XNNPACKExecutionProvider> for ExecutionProviderDispatch
impl From<XNNPACKExecutionProvider> for ExecutionProviderDispatch
source§fn from(value: XNNPACKExecutionProvider) -> Self
fn from(value: XNNPACKExecutionProvider) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for XNNPACKExecutionProvider
impl RefUnwindSafe for XNNPACKExecutionProvider
impl Send for XNNPACKExecutionProvider
impl Sync for XNNPACKExecutionProvider
impl Unpin for XNNPACKExecutionProvider
impl UnwindSafe for XNNPACKExecutionProvider
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