Mojo struct
MLAPositionSummary
@register_passable(trivial)
struct MLAPositionSummary
Fields
- num_keys (
UInt32): - score_row (
UInt32):
Implemented traits
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime members
__copy_ctor_is_trivial
comptime __copy_ctor_is_trivial = True
__del__is_trivial
comptime __del__is_trivial = True
__move_ctor_is_trivial
comptime __move_ctor_is_trivial = True
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:
get_score_row
create
static create[KRopeType: MHAOperand, //, _ndbuffer_mha_operand: Bool](k_rope_lut: KRopeType, seq_info: SeqInfo) -> Self
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!