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

Prathamesh Tagore llvmlistbot at llvm.org
Sat Dec 9 00:45:30 PST 2023


https://github.com/meshtag created https://github.com/llvm/llvm-project/pull/74922

None

>From 61fedd1b2197a8433d39164c9ac58ee89dd19077 Mon Sep 17 00:00:00 2001
From: meshtag <prathameshtagore at gmail.com>
Date: Sat, 9 Dec 2023 08:42:08 +0000
Subject: [PATCH] Fix typo in tensor.pack documentation

---
 mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
index 7ae27407a9526e..0f883cd8e39589 100644
--- a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
+++ b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
@@ -1758,13 +1758,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