IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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 function

batched_matmul

def batched_matmul[*, transpose_a: Bool = False, transpose_b: Bool = False, elementwise_epilogue_fn: Optional[def[c_type: DType, width: SIMDLength, rank: Int, *, alignment: Int = Int(1)](IndexList[rank], SIMD[c_type, width]) capturing thin -> None] = None, saturated_vnni: Bool = False, target: StringSlice[ImmStaticOrigin] = StringSlice("cpu")](c_buf: TileTensor[Storage=c_buf.Storage, linear_idx_type=c_buf.linear_idx_type], a_buf: TileTensor[Storage=a_buf.Storage, linear_idx_type=a_buf.linear_idx_type], b_buf: TileTensor[Storage=b_buf.Storage, linear_idx_type=b_buf.linear_idx_type], *, context: Optional[DeviceContext] = None)

TileTensor primary implementation of batched_matmul.

Parameters:

Args:

Was this page helpful?