pub struct CPU { /* private fields */ }Expand description
The default CPU execution provider, powered by MLAS.
Implementations§
Trait Implementations§
Source§impl ExecutionProvider for CPU
impl ExecutionProvider for CPU
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Returns the identifier of this execution provider used internally by ONNX Runtime. Read more
Source§impl From<CPU> for ExecutionProviderDispatch
impl From<CPU> for ExecutionProviderDispatch
Source§fn from(value: CPU) -> ExecutionProviderDispatch
fn from(value: CPU) -> ExecutionProviderDispatch
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CPU
impl RefUnwindSafe for CPU
impl Send for CPU
impl Sync for CPU
impl Unpin for CPU
impl UnsafeUnpin for CPU
impl UnwindSafe for CPU
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