Skip to main content

Mojo struct

MLAPositionSummary

struct MLAPositionSummary

Fields​

  • ​num_keys (UInt32):
  • ​score_row (UInt32):

Implemented traits​

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable

Methods​

__init__​

__init__(num_keys: UInt32, score_row: UInt32) -> Self

get_num_keys_and_start_pos​

static get_num_keys_and_start_pos[KRopeType: MHAOperand, //, _ndbuffer_mha_operand: Bool](k_rope_lut: KRopeType, seq_info: SeqInfo) -> Tuple[UInt32, UInt32]

Returns:

Tuple[UInt32, UInt32]

get_score_row​

static get_score_row(seq_info: SeqInfo, start_pos: UInt32) -> UInt32

Returns:

UInt32

create​

static create[KRopeType: MHAOperand, //, _ndbuffer_mha_operand: Bool](k_rope_lut: KRopeType, seq_info: SeqInfo) -> Self