[all-commits] [llvm/llvm-project] fe83a7: [TOSA] Introduce Tosa_ElementwiseUnaryOp with Type...
Peng Sun via All-commits
all-commits at lists.llvm.org
Tue Nov 12 13:36:09 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe83a7282e05b6aba7c87fa293ec84ef926a7991
https://github.com/llvm/llvm-project/commit/fe83a7282e05b6aba7c87fa293ec84ef926a7991
Author: Peng Sun <peng.sun at arm.com>
Date: 2024-11-12 (Tue, 12 Nov 2024)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaOpBase.td
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
M mlir/test/Dialect/Tosa/invalid.mlir
M mlir/test/Dialect/Tosa/ops.mlir
Log Message:
-----------
[TOSA] Introduce Tosa_ElementwiseUnaryOp with Type and Shape Enforcement (#115784)
* Enforce that Tosa_ElementwiseUnaryOp requires output tensors to match
the input tensor's type and shape.
* Update the following ops to conform to Tosa_ElementwiseUnaryOp: clamp,
erf, sigmoid, tanh, cos, sin, abs, bitwise_not, ceil, clz, exp, floor,
log, logical_not, negate, reciprocal, rsqrt.
* Add invalid tests for each operator to ensure compliance with TOSA
v1.0 Specification.
Signed-off-by: Peng Sun <peng.sun at arm.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list