Add CalibratedQuantizedType to quant dialect
This type supports a calibrated type with min, max provided. This will be used for importing calibration values of intermediate tensors (e.g. LSTM) which can't be imported with QuantStats op. This type was initially suggested in the following RFC: https://llvm.discourse.group/t/rfc-a-proposal-for-implementing-quantization-transformations-in-mlir/655 Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D91584
Loading
Please register or sign in to comment