pub enum Slot {
Show 21 variants
Residual,
Normed,
Out,
Qkv,
Mixed,
Z,
Alpha,
Beta,
LogDecay,
Decay,
Gate,
Query,
Key,
Value,
Projected,
OutGate,
Read,
FfnGate,
FfnUp,
Hidden,
Logits,
}Expand description
A vector each token-row of a step carries, one of the token-row store’s slots.
Variants§
Residual
The residual stream.
Normed
The residual normalized, a block’s input.
Out
A block’s output, before it joins the residual.
Qkv
A Gated-DeltaNet block’s fused query, key and value projection.
Mixed
The projection through the causal convolution and SiLU.
Z
The block’s output gate, before its SiLU.
Alpha
The projections the decay and the update gate are made from, one element a value head.
Beta
LogDecay
Per value head: the decay’s exponent, the decay, the update gate.
Decay
Gate
Query
Queries and keys, a head after another: a Gated-DeltaNet block’s L2-normalized, an attention block’s normalized and turned.
Key
Value
An attention block’s values, a head after another.
Projected
An attention block’s query projection, each head’s queries and output gate interleaved.
OutGate
An attention block’s output gate, a head after another.
Read
The read of every head: the memory’s read-out, or the attended values.
FfnGate
The FFN’s gate and up projections, and their gated product.
FfnUp
Hidden
Logits
The vocabulary’s logits.
Implementations§
Trait Implementations§
Source§impl Ord for Slot
impl Ord for Slot
Source§impl PartialOrd for Slot
impl PartialOrd for Slot
impl Copy for Slot
impl Eq for Slot
impl StructuralPartialEq for Slot
Auto Trait Implementations§
impl Freeze for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
impl UnwindSafe for Slot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.