Skip to main content

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

static get_type_name() -> String

Returns:

String

get_device_type_name

static get_device_type_name() -> String

Returns:

String

Was this page helpful?