pub enum ComponentKind {
StaticText,
Vision,
Audio,
Assembly,
Decoder,
Prediction,
Assistant,
OutputProjection,
}Expand description
Semantic execution-unit kind without family equations.
Variants§
StaticText
Token embedding, normalization, or another immutable text root.
Vision
Vision encoder or projector unit.
Audio
Audio encoder or projector unit.
Assembly
Ordered text/media assembly.
Decoder
One decoder layer.
Prediction
Embedded multi-token prediction unit.
Assistant
External assistant unit.
OutputProjection
Final vocabulary projection.
Trait Implementations§
Source§impl Clone for ComponentKind
impl Clone for ComponentKind
Source§fn clone(&self) -> ComponentKind
fn clone(&self) -> ComponentKind
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 ComponentKind
Source§impl Debug for ComponentKind
impl Debug for ComponentKind
impl Eq for ComponentKind
Source§impl Hash for ComponentKind
impl Hash for ComponentKind
Source§impl Ord for ComponentKind
impl Ord for ComponentKind
Source§fn cmp(&self, other: &ComponentKind) -> Ordering
fn cmp(&self, other: &ComponentKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ComponentKind
impl PartialEq for ComponentKind
Source§impl PartialOrd for ComponentKind
impl PartialOrd for ComponentKind
impl StructuralPartialEq for ComponentKind
Auto Trait Implementations§
impl Freeze for ComponentKind
impl RefUnwindSafe for ComponentKind
impl Send for ComponentKind
impl Sync for ComponentKind
impl Unpin for ComponentKind
impl UnsafeUnpin for ComponentKind
impl UnwindSafe for ComponentKind
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