pub struct SamsungBackend;Expand description
Samsung Exynos NPU backend with ONE toolchain hints.
Trait Implementations§
Source§impl Backend for SamsungBackend
impl Backend for SamsungBackend
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 SamsungBackend
impl RefUnwindSafe for SamsungBackend
impl Send for SamsungBackend
impl Sync for SamsungBackend
impl Unpin for SamsungBackend
impl UnsafeUnpin for SamsungBackend
impl UnwindSafe for SamsungBackend
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