[Mlir-commits] [mlir] 2255795 - [mlir] [tensor] Fix typo in tensor.pack documentation (#74922)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Dec 13 21:51:14 PST 2023


Author: Prathamesh Tagore
Date: 2023-12-14T11:21:10+05:30
New Revision: 2255795f281862b11e22920b982d57787808ecbb

URL: https://github.com/llvm/llvm-project/commit/2255795f281862b11e22920b982d57787808ecbb
DIFF: https://github.com/llvm/llvm-project/commit/2255795f281862b11e22920b982d57787808ecbb.diff

LOG: [mlir] [tensor] Fix typo in tensor.pack documentation (#74922)

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
index f50e3464867be5..6d3371e9071d05 100644
--- a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
+++ b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
@@ -1822,13 +1822,10 @@ def Tensor_PackOp : Tensor_RelayoutOp<"pack", [
     and optionally transposes the tiled source tensor dimensions.
 
     `inner_dims_pos` (mandatory) specifies `k` source tensor dimensions that are
-    being tiled, where `0 < k <= n`. The order of the dimensions matters: the
-    tiled dimensions (of size `inner_tiles`) are added to the end of the result
+    being tiled, where `0 < k <= n`. The order of the dimensions matters: 
+     - The tiled dimensions (of size `inner_tiles`) are added to the end of the result
     tensor in the order in which they appear in `inner_dims_pos`.
-
-    `inner_dims_pos` (mandatory) specifies `k` source tensor dimensions that are
-    being tiled, where `0 < k <= n`. The order of the dimensions matters:
-    `inner_dims_pos[i]` specifies the source tensor dimension tiled by
+     - `inner_dims_pos[i]` specifies the source tensor dimension tiled by
     `inner_tiles[i]`.
 
     `inner_tiles` (mandatory) specifies `k` tile sizes. These tile sizes


        


More information about the Mlir-commits mailing list