37 #ifndef MLIR_DIALECT_QUANT_UTILS_FAKEQUANTSUPPORT_H_
38 #define MLIR_DIALECT_QUANT_UTILS_FAKEQUANTSUPPORT_H_
52 double rmin,
double rmax,
53 bool narrowRange, Type expressedType,
54 bool isSigned =
false);
59 UniformQuantizedPerAxisType
61 ArrayRef<double> rmins, ArrayRef<double> rmax,
62 bool narrowRange, Type expressedType,
63 bool isSigned =
false);
UniformQuantizedType fakeQuantAttrsToType(Location loc, unsigned numBits, double rmin, double rmax, bool narrowRange, Type expressedType, bool isSigned=false)
Converts per-layer FakeQuant attributes to the corresponding type.
Include the generated interface declarations.