From 41b86d8ad917e835c1ec576ed4f2086596f71a6a Mon Sep 17 00:00:00 2001 From: Lorenzo Chelini Date: Wed, 28 Apr 2021 12:50:21 +0200 Subject: [PATCH] [mlir] Fix typos (NFC) --- mlir/docs/Tools/LinalgOpDsl.md | 2 +- mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mlir/docs/Tools/LinalgOpDsl.md b/mlir/docs/Tools/LinalgOpDsl.md index 6fba324..140c2ea 100644 --- a/mlir/docs/Tools/LinalgOpDsl.md +++ b/mlir/docs/Tools/LinalgOpDsl.md @@ -48,7 +48,7 @@ T2 = TV.T2 def matmul(A=TensorDef(T1, S.M, S.K), B=TensorDef(T2, S.K, S.N), C=TensorDef(U, S.M, S.N, output=True)): - """Performs a matrix multiplacation of two 2D inputs. + """Performs a matrix multiplication of two 2D inputs. Numeric casting is performed on the operands to the inner multiply, promoting them to the same data type as the accumulator/output. diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml b/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml index 5752af9..085eaed 100644 --- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml +++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml @@ -3,7 +3,7 @@ metadata: !LinalgOpMetadata name: matmul cpp_op_name: MatmulOp doc: |- - Performs a matrix multiplacation of two 2D inputs. + Performs a matrix multiplication of two 2D inputs. Numeric casting is performed on the operands to the inner multiply, promoting them to the same data type as the accumulator/output. @@ -65,7 +65,7 @@ metadata: !LinalgOpMetadata name: batch_matmul cpp_op_name: BatchMatmulOp doc: |- - Performs a batched matrix multiplacation of two 3D inputs. + Performs a batched matrix multiplication of two 3D inputs. Numeric casting is performed on the operands to the inner multiply, promoting them to the same data type as the accumulator/output. @@ -189,7 +189,7 @@ metadata: !LinalgOpMetadata name: vecmat cpp_op_name: VecmatOp doc: |- - Performs a vector-matrix multiplacation. + Performs a vector-matrix multiplication. Numeric casting is performed on the operands to the inner multiply, promoting them to the same data type as the accumulator/output. -- 2.7.4