Skip to content

Commit

Permalink
[mlir][Tensor] Improve documentation of verification behavior of Inse…
Browse files Browse the repository at this point in the history
…rtSliceOp.
  • Loading branch information
nicolasvasilache committed Jun 29, 2022
1 parent 2124b2f commit 0fb24a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
Expand Up @@ -549,6 +549,11 @@ 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:
======================================
The same verification discussion and mechanisms apply as for ExtractSliceOp.
Unlike ExtractSliceOp however, there is no need for a specific inference.

Example:

```
Expand Down

0 comments on commit 0fb24a8

Please sign in to comment.