#[non_exhaustive]pub enum ReplicatedTextParameterRole {
Embedding,
LinearWeight,
LinearBias,
Normalization,
FormatCompanion,
Other,
}Expand description
Architecture-owned semantic role of one logical parameter.
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.
Embedding
Token lookup table.
LinearWeight
Executable affine projection weight.
LinearBias
Learned affine projection bias.
Normalization
Learned normalization scale or offset.
FormatCompanion
Physical scale, zero-point, or packed-format companion.
Other
Another architecture-declared non-linear parameter.
Trait Implementations§
Source§impl Clone for ReplicatedTextParameterRole
impl Clone for ReplicatedTextParameterRole
Source§fn clone(&self) -> ReplicatedTextParameterRole
fn clone(&self) -> ReplicatedTextParameterRole
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 ReplicatedTextParameterRole
Source§impl Debug for ReplicatedTextParameterRole
impl Debug for ReplicatedTextParameterRole
impl Eq for ReplicatedTextParameterRole
impl StructuralPartialEq for ReplicatedTextParameterRole
Auto Trait Implementations§
impl Freeze for ReplicatedTextParameterRole
impl RefUnwindSafe for ReplicatedTextParameterRole
impl Send for ReplicatedTextParameterRole
impl Sync for ReplicatedTextParameterRole
impl Unpin for ReplicatedTextParameterRole
impl UnsafeUnpin for ReplicatedTextParameterRole
impl UnwindSafe for ReplicatedTextParameterRole
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