Skip to main content

Mojo function

naive_grouped_matmul_kernel

naive_grouped_matmul_kernel[c_type: DType, c_shape: DimList[c_shape.values], a_type: DType, a_shape: DimList[a_shape.values], b_type: DType, b_shape: DimList[b_shape.values], *, elementwise_lambda_fn: Optional[elementwise_epilogue_type] = None](c: NDBuffer[c_type, MutAnyOrigin, c_shape, DimList.create_unknown[2]()], a: NDBuffer[a_type, ImmutAnyOrigin, a_shape, DimList.create_unknown[2]()], b: NDBuffer[b_type, ImmutAnyOrigin, b_shape, DimList.create_unknown[3]()], a_offsets: NDBuffer[DType.uint32, ImmutAnyOrigin, DimList.create_unknown[1](), DimList.create_unknown[1]()], expert_ids: NDBuffer[DType.int32, ImmutAnyOrigin, DimList.create_unknown[1](), DimList.create_unknown[1]()])

Was this page helpful?