[Mlir-commits] [mlir] [MLIR][Linalg] Introduce linalg.contract (PR #123618)
Andrzej Warzyński
llvmlistbot at llvm.org
Mon Jan 27 23:57:20 PST 2025
================
@@ -680,6 +680,125 @@ def MatmulOp : LinalgStructuredBase_Op<"matmul", [
}];
}
+//===----------------------------------------------------------------------===//
+// Contract op.
+//===----------------------------------------------------------------------===//
+
+def ContractOp : LinalgStructuredBase_Op<"contract", [
+ AttrSizedOperandSegments,
+ LinalgContractionOpInterface]> {
+ let summary = [{
+ Perform a contraction on two inputs, accumulating on top of a third.
----------------
banach-space wrote:
Also not a native speaker 😄
AFAIk, all of these forms are grammatically correct. IIRC, "into" is more Mathematical/academic/formal. That's what I'd recommend for a short description at the top.
Normally I'd try to share a reference, but this tablet is not great for browsing papers on GEMM 😂
Thanks for the update!
https://github.com/llvm/llvm-project/pull/123618
More information about the Mlir-commits
mailing list