[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:23 PDT 2025
https://github.com/Jerry-Ge created https://github.com/llvm/llvm-project/pull/135268
* Minor example variable name alignment
>From d3468dd4a5ffdf8adfd6e18148126f76e94c7570 Mon Sep 17 00:00:00 2001
From: Jerry Ge <jerry.ge at arm.com>
Date: Thu, 10 Apr 2025 15:01:33 -0700
Subject: [PATCH] [mlir][tosa] Align AbsOp example variable names
* Minor example variable name alignment
Signed-off-by: Jerry Ge <jerry.ge at arm.com>
Change-Id: I6d48ec183ed1880ef83f65dfde8d5555d834116d
---
mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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>
```
}];
More information about the Mlir-commits
mailing list