Enum DenseRole
pub enum DenseRole {
Show 18 variants
Embedding,
AttentionNorm,
Q,
K,
V,
AttentionDimensions,
AttentionSoftmax,
AttentionOutput,
AttentionOutputDimensions,
FfnNorm,
Gate,
Up,
Down,
FfnDimensions,
DownDimensions,
OutputNorm,
Output,
OutputArgmax,
}Variants§
Embedding
AttentionNorm
Q
K
V
AttentionDimensions
AttentionSoftmax
AttentionOutput
AttentionOutputDimensions
FfnNorm
Gate
Up
Down
FfnDimensions
DownDimensions
OutputNorm
Output
OutputArgmax
Trait Implementations§
impl Copy for DenseRole
impl Eq for DenseRole
impl StructuralPartialEq for DenseRole
Auto Trait Implementations§
impl Freeze for DenseRole
impl RefUnwindSafe for DenseRole
impl Send for DenseRole
impl Sync for DenseRole
impl Unpin for DenseRole
impl UnsafeUnpin for DenseRole
impl UnwindSafe for DenseRole
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