Home
last modified time | relevance | path

Searched refs:UniformQuantizedValueConverter (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DUniformSupport.h61 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 DQuantizeUtils.h19 class UniformQuantizedValueConverter; variable
56 const UniformQuantizedValueConverter &converter,
/llvm-project-15.0.7/mlir/lib/Dialect/Quant/Utils/
H A DQuantizeUtils.cpp24 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 DUniformSupport.cpp69 SmallVector<UniformQuantizedValueConverter, 4> converters; in convert()
/llvm-project-15.0.7/mlir/unittests/Dialect/Quant/
H A DQuantizationUtilsTest.cpp24 : public UniformQuantizedValueConverter {
27 : UniformQuantizedValueConverter(type), qtype(type) {} in TestUniformQuantizedValueConverter()