Mojo struct
NoPartition
struct NoPartition[dtype: DType]
Implemented traitsβ
AnyType,
Copyable,
Defaultable,
ImplicitlyCopyable,
ImplicitlyDestructible,
MHAPartitionScheme,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
accum_dtypeβ
comptime accum_dtype = dtype
do_partitionβ
comptime do_partition = False
Methodsβ
__init__β
__init__() -> Self
num_partitionsβ
get_exp_sum_qk_max_pointerβ
get_exp_sum_qk_max_pointer(self) -> UnsafePointer[Scalar[NoPartition[dtype].accum_dtype], MutAnyOrigin]
Returns:
UnsafePointer[Scalar[NoPartition[dtype].accum_dtype], MutAnyOrigin]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!