Skip to main content

//clika-runtime/io.clika.runtime/PaddingSide

PaddingSide

[common]
enum PaddingSide : Enum<PaddingSide>

Which end of a short row a padded batch fills. LEFT suits decoder-only batch generation: every row's real tokens end flush at the last column.

Entries​

RIGHT[common]
RIGHT
LEFT[common]
LEFT

Properties​

NameSummary
code[common]
val code: Int
name[common]
val name: String
ordinal[common]
val ordinal: Int

Functions​

NameSummary
valueOf[common]
fun valueOf(value: String): PaddingSide
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<PaddingSide>
Returns an array containing the constants of this enum type, in the order they're declared.