[Mlir-commits] [mlir] 3071107 - [mlir][Python][Linalg] Fixing typos (NFC).

Tobias Gysi llvmlistbot at llvm.org
Wed Apr 28 00:42:11 PDT 2021


Author: Tobias Gysi
Date: 2021-04-28T07:38:36Z
New Revision: 3071107cf00c8914aa0e9f3b5170df59b8563002

URL: https://github.com/llvm/llvm-project/commit/3071107cf00c8914aa0e9f3b5170df59b8563002
DIFF: https://github.com/llvm/llvm-project/commit/3071107cf00c8914aa0e9f3b5170df59b8563002.diff

LOG: [mlir][Python][Linalg] Fixing typos (NFC).

Added: 
    

Modified: 
    mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py b/mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
index 229458855939a..b52a0e2d65e1c 100644
--- a/mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
+++ b/mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
@@ -10,7 +10,7 @@
 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.
@@ -23,7 +23,7 @@ def matmul(A=TensorDef(T1, S.M, S.K),
 def batch_matmul(A=TensorDef(T1, Batch, S.M, S.K),
                  B=TensorDef(T2, Batch, S.K, S.N),
                  C=TensorDef(U, Batch, S.M, S.N, output=True)):
-  """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.
@@ -49,7 +49,7 @@ def matvec(A=TensorDef(T1, S.M, S.N),
 def vecmat(y=TensorDef(T1, S.M),
            A=TensorDef(T2, S.M, S.N),
            x=TensorDef(U, S.N, output=True)):
-  """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.


        


More information about the Mlir-commits mailing list