MLIR  15.0.0git
Namespaces | Functions
FakeQuantSupport.h File Reference
#include "mlir/Dialect/Quant/QuantTypes.h"
+ Include dependency graph for FakeQuantSupport.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlir
 TODO: Remove this file when SCCP and integer range analysis have been ported to the new framework.
 
 mlir::quant
 

Functions

UniformQuantizedType mlir::quant::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. More...
 
UniformQuantizedPerAxisType mlir::quant::fakeQuantAttrsToType (Location loc, unsigned numBits, int32_t quantizedDimension, ArrayRef< double > rmins, ArrayRef< double > rmax, bool narrowRange, Type expressedType, bool isSigned=false)
 Converts per-channel FakeQuant attributes to the corresponding type. More...