[Mlir-commits] [mlir] 5a3cf5e - [mlir] use correct markdown headers in TensorOps.td
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Dec 1 07:22:27 PST 2022
Author: Oleksandr "Alex" Zinenko
Date: 2022-12-01T16:22:24+01:00
New Revision: 5a3cf5e1a458e0256f57aa1d529df627874ffeba
URL: https://github.com/llvm/llvm-project/commit/5a3cf5e1a458e0256f57aa1d529df627874ffeba
DIFF: https://github.com/llvm/llvm-project/commit/5a3cf5e1a458e0256f57aa1d529df627874ffeba.diff
LOG: [mlir] use correct markdown headers in TensorOps.td
The `====` underline is for h1, we actually need h4. This makes TOC look bad.
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 c20b92a01ab97..b48284f01a6b0 100644
--- a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
+++ b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
@@ -291,8 +291,8 @@ def Tensor_ExtractSliceOp : Tensor_OpWithOffsetSizesAndStrides<"extract_slice",
flexibility allows to progressively drop unit dimensions while lowering
between
diff erent flavors of ops on that operate on tensors.
- Verification vs Inference in the rank-reduced case:
- ===================================================
+ #### Verification vs Inference in the rank-reduced case
+
Note that there may be multiple ways to infer a resulting rank-reduced type.
e.g. 1x6x1 could potentially rank-reduce to either 1x6 or 6x1 2-D shapes.
@@ -785,8 +785,8 @@ def Tensor_InsertSliceOp : Tensor_OpWithOffsetSizesAndStrides<"insert_slice", [
The rank-altering behavior of tensor.insert_slice matches the rank-reducing
behavior of tensor.extract_slice.
- Verification in the rank-reduced case:
- ======================================
+ #### Verification in the rank-reduced case
+
The same verification discussion and mechanisms apply as for ExtractSliceOp.
Unlike ExtractSliceOp however, there is no need for a specific inference.
@@ -1389,8 +1389,8 @@ def Tensor_ParallelInsertSliceOp : Tensor_Op<"parallel_insert_slice", [
The rank-altering behavior of tensor.parallel_insert_slice matches the
rank-reducing behavior of tensor.insert_slice and tensor.extract_slice.
- Verification in the rank-reduced case:
- ======================================
+ #### Verification in the rank-reduced case
+
The same verification discussion and mechanisms apply as for ExtractSliceOp.
Unlike ExtractSliceOp however, there is no need for a specific inference.
}];
More information about the Mlir-commits
mailing list