[Mlir-commits] [mlir] [mlir][Tosa] fix fp16/bf16 support for Clamp min/max attributes (PR #69192)
Georgios Pinitas
llvmlistbot at llvm.org
Thu Oct 19 09:17:11 PDT 2023
================
@@ -380,15 +380,17 @@ def Tosa_ClampOp : Tosa_ElementwiseOp<"clamp"> {
Tosa_Tensor:$input,
I64Attr:$min_int,
I64Attr:$max_int,
- F32Attr:$min_fp,
- F32Attr:$max_fp
+ Tosa_FloatAttr:$min_fp,
+ Tosa_FloatAttr:$max_fp
);
let results = (outs
Tosa_Tensor:$output
);
let hasCanonicalizer = 1;
+
----------------
GeorgeARM wrote:
[nitpick]: no space needed
https://github.com/llvm/llvm-project/pull/69192
More information about the Mlir-commits
mailing list