pub enum ParameterRole {
Replicated,
ColumnProjection,
RowProjection,
Vocabulary,
AttentionHeads,
FeedForwardIntermediate,
ExpertIntermediate,
Channels,
Segmented,
}Expand description
Semantic role of a logical parameter group.
Variants§
Replicated
Small or otherwise non-partitioned state.
ColumnProjection
Projection whose output features are rank-local.
RowProjection
Projection whose input features are rank-local and whose output is reduced.
Vocabulary
Token embedding or output projection partitioned by vocabulary.
AttentionHeads
Query, key, or value heads.
FeedForwardIntermediate
Dense feed-forward intermediate channels shared by input and output projections.
ExpertIntermediate
Routed or shared expert intermediate channels.
Channels
State-space, convolution, or recurrent channels.
Segmented
A fused tensor containing independently partitioned segments.
Trait Implementations§
Source§impl Clone for ParameterRole
impl Clone for ParameterRole
Source§fn clone(&self) -> ParameterRole
fn clone(&self) -> ParameterRole
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 ParameterRole
Source§impl Debug for ParameterRole
impl Debug for ParameterRole
impl Eq for ParameterRole
Source§impl PartialEq for ParameterRole
impl PartialEq for ParameterRole
impl StructuralPartialEq for ParameterRole
Auto Trait Implementations§
impl Freeze for ParameterRole
impl RefUnwindSafe for ParameterRole
impl Send for ParameterRole
impl Sync for ParameterRole
impl Unpin for ParameterRole
impl UnsafeUnpin for ParameterRole
impl UnwindSafe for ParameterRole
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