pub struct AmdBackend;Expand description
AMD XDNA NPU backend with enhanced ONNX metadata.
Trait Implementations§
Source§impl Backend for AmdBackend
impl Backend for AmdBackend
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 AmdBackend
impl RefUnwindSafe for AmdBackend
impl Send for AmdBackend
impl Sync for AmdBackend
impl Unpin for AmdBackend
impl UnsafeUnpin for AmdBackend
impl UnwindSafe for AmdBackend
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