Searched refs:UniformQuantizedValueConverter (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/ |
| H A D | UniformSupport.h | 61 class UniformQuantizedValueConverter { 63 explicit UniformQuantizedValueConverter(UniformQuantizedType uniformType) in UniformQuantizedValueConverter() function 64 : UniformQuantizedValueConverter( in UniformQuantizedValueConverter() 74 UniformQuantizedValueConverter(double scale, double zeroPoint, in UniformQuantizedValueConverter() function 83 UniformQuantizedValueConverter(double scale, double zeroPoint, in UniformQuantizedValueConverter() function 126 virtual ~UniformQuantizedValueConverter() = default; 202 UniformQuantizedValueConverter getPerChunkConverter(int index) const { in getPerChunkConverter() 203 UniformQuantizedValueConverter converter(scales[index], zeroPoints[index], in getPerChunkConverter()
|
| H A D | QuantizeUtils.h | 19 class UniformQuantizedValueConverter; variable 56 const UniformQuantizedValueConverter &converter,
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Quant/Utils/ |
| H A D | QuantizeUtils.cpp | 24 const UniformQuantizedValueConverter &converter, Type &outConvertedType) { in convertPrimitiveValueAttr() 41 const UniformQuantizedValueConverter &converter) { in convertDenseFPElementsAttr() 72 const UniformQuantizedValueConverter &converter) { in convertSparseElementsAttr() 101 const UniformQuantizedValueConverter &converter, Type &outConvertedType) { in quantizeAttrUniform() 132 UniformQuantizedValueConverter converter(uniformQuantized); in quantizeAttr()
|
| H A D | UniformSupport.cpp | 69 SmallVector<UniformQuantizedValueConverter, 4> converters; in convert()
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/Quant/ |
| H A D | QuantizationUtilsTest.cpp | 24 : public UniformQuantizedValueConverter { 27 : UniformQuantizedValueConverter(type), qtype(type) {} in TestUniformQuantizedValueConverter()
|