pub struct TfLiteBackend;Expand description
TFLite backend that compiles NxPU IR into .tflite FlatBuffer files.
Trait Implementations§
Source§impl Backend for TfLiteBackend
impl Backend for TfLiteBackend
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 TfLiteBackend
impl RefUnwindSafe for TfLiteBackend
impl Send for TfLiteBackend
impl Sync for TfLiteBackend
impl Unpin for TfLiteBackend
impl UnsafeUnpin for TfLiteBackend
impl UnwindSafe for TfLiteBackend
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