#[non_exhaustive]pub enum WeightLoweringKind {
Direct,
Derived,
Transform,
DerivedTransform,
}Expand description
Backend implementation route for one source-to-executable weight lowering.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Direct
The admitted source encoding is retained by the executable operator.
Derived
An architecture-owned recipe derives the executable tensor from the admitted source.
Transform
Payload materialization performs an admitted transformation.
DerivedTransform
An architecture recipe derives a tensor that payload materialization then transforms.
Trait Implementations§
Source§impl Clone for WeightLoweringKind
impl Clone for WeightLoweringKind
Source§fn clone(&self) -> WeightLoweringKind
fn clone(&self) -> WeightLoweringKind
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 WeightLoweringKind
Source§impl Debug for WeightLoweringKind
impl Debug for WeightLoweringKind
impl Eq for WeightLoweringKind
Source§impl PartialEq for WeightLoweringKind
impl PartialEq for WeightLoweringKind
impl StructuralPartialEq for WeightLoweringKind
Auto Trait Implementations§
impl Freeze for WeightLoweringKind
impl RefUnwindSafe for WeightLoweringKind
impl Send for WeightLoweringKind
impl Sync for WeightLoweringKind
impl Unpin for WeightLoweringKind
impl UnsafeUnpin for WeightLoweringKind
impl UnwindSafe for WeightLoweringKind
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