pub struct IrDumpBackend;Expand description
Built-in backend that dumps the IR as text using nxpu_ir::dump_module.
Trait Implementations§
Source§impl Backend for IrDumpBackend
impl Backend for IrDumpBackend
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.
Source§fn preferred_precision(&self) -> Precision
fn preferred_precision(&self) -> Precision
The precision this backend prefers for optimal NPU execution.
Auto Trait Implementations§
impl Freeze for IrDumpBackend
impl RefUnwindSafe for IrDumpBackend
impl Send for IrDumpBackend
impl Sync for IrDumpBackend
impl Unpin for IrDumpBackend
impl UnsafeUnpin for IrDumpBackend
impl UnwindSafe for IrDumpBackend
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