37 #ifndef MLIR_DIALECT_QUANT_FAKEQUANTSUPPORT_H_ 38 #define MLIR_DIALECT_QUANT_FAKEQUANTSUPPORT_H_ 52 double rmin,
double rmax,
53 bool narrowRange,
Type expressedType,
54 bool isSigned =
false);
62 bool narrowRange,
Type expressedType,
63 bool isSigned =
false);
67 #endif // MLIR_DIALECT_QUANT_FAKEQUANTSUPPORT_H_ Include the generated interface declarations.
This class defines the main interface for locations in MLIR and acts as a non-nullable wrapper around...
Instances of the Type class are uniqued, have an immutable identifier and an optional mutable compone...
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.