[Mlir-commits] [mlir] 2b60291 - Fix typos in the documentation of dynamic values in subview ops

Nicolas Vasilache llvmlistbot at llvm.org
Wed Oct 14 01:31:29 PDT 2020


Author: Aden Grue
Date: 2020-10-14T08:29:47Z
New Revision: 2b60291285b241fc19f5a4e3f2e814157e0f5984

URL: https://github.com/llvm/llvm-project/commit/2b60291285b241fc19f5a4e3f2e814157e0f5984
DIFF: https://github.com/llvm/llvm-project/commit/2b60291285b241fc19f5a4e3f2e814157e0f5984.diff

LOG: Fix typos in the documentation of dynamic values in subview ops

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D89338

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/StandardOps/IR/Ops.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
index b172ddd34933..798df5e24237 100644
--- a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
+++ b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
@@ -2935,7 +2935,7 @@ def SubViewOp : BaseOpWithOffsetSizesAndStrides<
     `static_offsets`, `static_sizes` and `static_strides` arguments. A special
     sentinel value ShapedType::kDynamicSize and
     ShapedType::kDynamicStrideOrOffset encodes that the corresponding entry has
-    a static value.
+    a dynamic value.
 
     A subview operation may additionally reduce the rank of the resulting view
     by removing dimensions that are statically known to be of size 1.
@@ -3118,7 +3118,7 @@ def SubTensorOp : BaseOpWithOffsetSizesAndStrides<"subtensor"> {
                to extract the subtensor.
     * sizes: tensor-rank number of sizes which specify the sizes of the result
              tensor type.
-    * strides: tensor-rank number of strides specifying subsampling in each 
+    * strides: tensor-rank number of strides specifying subsampling in each
                dimension.
 
     The representation based on offsets, sizes and strides support a
@@ -3126,7 +3126,7 @@ def SubTensorOp : BaseOpWithOffsetSizesAndStrides<"subtensor"> {
     `static_offsets`, `static_sizes` and `static_strides` arguments. A special
     sentinel value ShapedType::kDynamicSize and
     ShapedType::kDynamicStrideOrOffset encodes that the corresponding entry has
-    a static value.
+    a dynamic value.
 
     After buffer-allocation, the "subtensor" op is expected to lower into a
     "subview" op.
@@ -3222,7 +3222,7 @@ def SubTensorInsertOp : BaseOpWithOffsetSizesAndStrides<"subtensor_insert"> {
     `static_offsets`, `static_sizes` and `static_strides` arguments. A special
     sentinel value ShapedType::kDynamicSize and
     ShapedType::kDynamicStrideOrOffset encodes that the corresponding entry has
-    a static value.
+    a dynamic value.
 
     After buffer-allocation, the "subtensor_insert" op is expected to become
     an in-place buffer update.


        


More information about the Mlir-commits mailing list