//clika-runtime/io.clika.runtime/RotaryMode
RotaryMode
[common]
enum RotaryMode : Enum<RotaryMode>
How a rotary embedding pairs the channels it rotates.
Entries
| NEOX | [common] NEOX split-half: pair (i, i + rotary_dim/2) |
| INTERLEAVED | [common] INTERLEAVED adjacent-pair: pair (2i, 2i+1) |
Types
| Name | Summary |
|---|---|
| Companion | [common] object Companion |
Properties
| Name | Summary |
|---|---|
| code | [common] val code: Int |
| name | [common] val name: String |
| ordinal | [common] val ordinal: Int |
Functions
| Name | Summary |
|---|---|
| valueOf | [common] fun valueOf(value: String): RotaryMode Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
| values | [common] fun values(): Array<RotaryMode> Returns an array containing the constants of this enum type, in the order they're declared. |