Rope class final
Rotation table for one RoPE flavour at one position. Values are rounded
to float32 at the same points as the reference, which computes
inv_freq * position and its cosine in float32.
Properties
- cos → Float32List
-
final
- half → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- invFreq → Float32List
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sin → Float32List
-
final
Methods
-
apply(
Float32List x, int offset) → void - Half-split rotation: dimension j pairs with j + half.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setPosition(
int position) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited