#[non_exhaustive]pub enum ReplicatedTextStateAccess {
Stateless,
KeyValue,
Fixed,
AttentionWithFixed,
CompressedAttention,
CompressedAttentionWithFixed,
}Expand description
Static state-access semantics required by an admitted replicated text graph.
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.
Stateless
No mutable token state.
KeyValue
Ordinary key/value attention state.
Fixed
Architecture-declared recurrent or convolutional components only.
AttentionWithFixed
Key/value attention plus architecture-declared fixed components.
CompressedAttention
Compressed-latent attention state without fixed components.
CompressedAttentionWithFixed
Compressed-latent attention plus architecture-declared fixed components.
Trait Implementations§
Source§impl Clone for ReplicatedTextStateAccess
impl Clone for ReplicatedTextStateAccess
Source§fn clone(&self) -> ReplicatedTextStateAccess
fn clone(&self) -> ReplicatedTextStateAccess
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 ReplicatedTextStateAccess
Source§impl Debug for ReplicatedTextStateAccess
impl Debug for ReplicatedTextStateAccess
impl Eq for ReplicatedTextStateAccess
Source§impl Hash for ReplicatedTextStateAccess
impl Hash for ReplicatedTextStateAccess
Source§impl Ord for ReplicatedTextStateAccess
impl Ord for ReplicatedTextStateAccess
Source§fn cmp(&self, other: &ReplicatedTextStateAccess) -> Ordering
fn cmp(&self, other: &ReplicatedTextStateAccess) -> 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 PartialOrd for ReplicatedTextStateAccess
impl PartialOrd for ReplicatedTextStateAccess
impl StructuralPartialEq for ReplicatedTextStateAccess
Auto Trait Implementations§
impl Freeze for ReplicatedTextStateAccess
impl RefUnwindSafe for ReplicatedTextStateAccess
impl Send for ReplicatedTextStateAccess
impl Sync for ReplicatedTextStateAccess
impl Unpin for ReplicatedTextStateAccess
impl UnsafeUnpin for ReplicatedTextStateAccess
impl UnwindSafe for ReplicatedTextStateAccess
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