forked from OSchip/llvm-project
[mlir][tosa] Add i32 to supported quantized type
Quantized int type should include I32 types as its the output of a quantizd convolution or matmul operation. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D110651
This commit is contained in:
parent
f9b3c18e74
commit
4f38f0640d
|
@ -77,7 +77,8 @@ def Tosa_Int32Or64 : AnyTypeOf<[Tosa_Int32,
|
|||
def Tosa_QuantizedInt : AnyTypeOf<[ Tosa_QuantizedType<"uint8", [8], 0>,
|
||||
Tosa_QuantizedType<"int4", [4, 0], 1>,
|
||||
Tosa_QuantizedType<"int8", [8, 0], 1>,
|
||||
Tosa_QuantizedType<"int16", [16, 0], 1>]>;
|
||||
Tosa_QuantizedType<"int16", [16, 0], 1>,
|
||||
Tosa_QuantizedType<"int32", [32, 0], 1>]>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Floating-point types.
|
||||
|
|
Loading…
Reference in New Issue