For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
MLAPositionSummary
struct MLAPositionSummary
Fieldsβ
- βnum_keys (
UInt32): - βscore_row (
UInt32):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDeletable,
Movable,
RegisterPassable,
TrivialRegisterPassable
Methodsβ
__init__β
def __init__(num_keys: UInt32, score_row: UInt32) -> Self
get_num_keys_and_start_posβ
static def 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 def 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!