pub struct CoreMlBackend;Expand description
CoreML backend targeting Apple Neural Engine.
Trait Implementations§
Source§impl Backend for CoreMlBackend
impl Backend for CoreMlBackend
Source§fn preferred_precision(&self) -> Precision
fn preferred_precision(&self) -> Precision
The precision this backend prefers for optimal NPU execution.
Source§fn compile(
&self,
module: &Module,
_opts: &BackendOptions,
) -> Result<BackendOutput, BackendError>
fn compile( &self, module: &Module, _opts: &BackendOptions, ) -> Result<BackendOutput, BackendError>
Compile an optimized IR module to backend-specific output.
Auto Trait Implementations§
impl Freeze for CoreMlBackend
impl RefUnwindSafe for CoreMlBackend
impl Send for CoreMlBackend
impl Sync for CoreMlBackend
impl Unpin for CoreMlBackend
impl UnsafeUnpin for CoreMlBackend
impl UnwindSafe for CoreMlBackend
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