[Mlir-commits] [mlir] [mlir][tosa] Convert RESCALE op multiplier and shift from attributes to inputs (PR #129720)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Mar 6 11:23:33 PST 2025
================
@@ -74,6 +78,16 @@ def Tosa_QuantizedInt : AnyTypeOf<[Tosa_QuantizedType<"uint8", [8], 0>,
Tosa_QuantizedType<"int16", [16, 0], 1>,
Tosa_QuantizedType<"int32", [32, 0], 1>]>;
+//===----------------------------------------------------------------------===//
+// Floating-point types.
+//===----------------------------------------------------------------------===//
+def Tosa_Float : AnyTypeOf<[F32,
+ F16,
+ BF16]>;
+
+def Tosa_F8 : AnyTypeOf<[F8E4M3FN,
----------------
Jerry-Ge wrote:
I don't think still needed.
https://github.com/llvm/llvm-project/pull/129720
More information about the Mlir-commits
mailing list