[Mlir-commits] [mlir] [mlir][tosa] Align AbsOp example variable names (PR #135268)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Apr 10 15:03:58 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-tosa
Author: Jerry-Ge (Jerry-Ge)
<details>
<summary>Changes</summary>
* Minor example variable name alignment
---
Full diff: https://github.com/llvm/llvm-project/pull/135268.diff
1 Files Affected:
- (modified) mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td (+1-1)
``````````diff
diff --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
index 40aa2898d6edd..e5e30dbe27069 100644
--- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
+++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
@@ -1131,7 +1131,7 @@ def Tosa_AbsOp : Tosa_ElementwiseUnaryOp<"abs"> {
Example:
```mlir
- %out = tosa.abs(%in) : (tensor<21x3xf32>) -> tensor<21x3xf32>
+ %output = tosa.abs(%input1) : (tensor<21x3xf32>) -> tensor<21x3xf32>
```
}];
``````````
</details>
https://github.com/llvm/llvm-project/pull/135268
More information about the Mlir-commits
mailing list