Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
stats
→ ExecutorStats
-
Timing of mixer, FFN and LM-head calls since the last clear.
no setter
Methods
-
close()
→ Future<void>
-
-
ffn(int layer, Float32List a, int n)
→ Future<Float32List>
-
Layer
layer's FFN for n normalized inputs; returns n, H.
-
lmHead(Float32List normed, Float32List logits)
→ Future<void>
-
The LM head for one normalized vector; writes
logits.
-
mixer(int layer, Float32List a, int n, int position)
→ Future<Float32List>
-
Layer
layer's mixer for n normalized inputs a (n, H) at
positions position, position + 1, ...; returns n, H.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
reset()
→ Future<void>
-
Starts a new sequence.
-
restoreState(Object state)
→ Future<void>
-
Returns to a state from saveState.
-
saveState()
→ Future<Object?>
-
The recurrent state at the current position (see
LayerShard.saveState), or null if this executor cannot save it.
-
stateBlocks(int position)
→ List<Float32List>?
-
Views of the state the first
position tokens left behind (see
LayerShard.stateBlocks), or null if it lives elsewhere.
-
toString()
→ String
-
A string representation of this object.
inherited