[Mlir-commits] [mlir] [MLIR][Linalg] Expose linalg.matmul and linalg.contract via Python API (PR #126377)
Maksim Levental
llvmlistbot at llvm.org
Sat Feb 8 16:14:38 PST 2025
================
@@ -606,7 +622,7 @@ def MatmulOp : LinalgStructuredBase_Op<"matmul", [
let arguments = (ins
Variadic<AnyType>:$inputs,
Variadic<AnyShaped>:$outputs,
- DefaultValuedOptionalAttr<AffineMapArrayAttr, "{}">:$indexing_maps,
+ DefaultValuedMatmulIndexingMapsAttr:$indexing_maps, // DONOTMERGE(rolfmorel): explain why this is necessary
----------------
makslevental wrote:
I get what you're going for here but the right way to do this is just add a custom builder that constructs this attribute rather than adding a whole new type.
https://github.com/llvm/llvm-project/pull/126377
More information about the Mlir-commits
mailing list