Mojo struct
MLA_Decode_Pack
struct MLA_Decode_Pack[ValidLengthType: OptionalPointer, MaskType: MHAMask, SplitAccumType: OptionalPointer]
Fieldsβ
- βmask (
MaskType): - βvalid_length (
ValidLengthType): - βlse_accum_split_ptr (
SplitAccumType):
Implemented traitsβ
AnyType,
Copyable,
DevicePassable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
device_typeβ
comptime device_type = MLA_Decode_Pack[ValidLengthType, MaskType, SplitAccumType]
Methodsβ
__init__β
__init__(mask: MaskType, valid_length: ValidLengthType, lse_accum_split_ptr: SplitAccumType) -> Self
get_type_nameβ
get_device_type_nameβ
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!