pub enum PerformanceTier {
Native,
Emulated,
Unsupported,
}Expand description
Performance tier for an operator on a specific NPU.
Variants§
Native
Operator runs natively on the NPU hardware.
Emulated
Operator is emulated (e.g. decomposed or run on CPU fallback).
Unsupported
Operator is not supported at all.
Trait Implementations§
Source§impl Clone for PerformanceTier
impl Clone for PerformanceTier
Source§fn clone(&self) -> PerformanceTier
fn clone(&self) -> PerformanceTier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PerformanceTier
Source§impl Debug for PerformanceTier
impl Debug for PerformanceTier
Source§impl Display for PerformanceTier
impl Display for PerformanceTier
impl Eq for PerformanceTier
Source§impl PartialEq for PerformanceTier
impl PartialEq for PerformanceTier
impl StructuralPartialEq for PerformanceTier
Auto Trait Implementations§
impl Freeze for PerformanceTier
impl RefUnwindSafe for PerformanceTier
impl Send for PerformanceTier
impl Sync for PerformanceTier
impl Unpin for PerformanceTier
impl UnsafeUnpin for PerformanceTier
impl UnwindSafe for PerformanceTier
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