Home
last modified time | relevance | path

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

/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h59 class UniformQuantizedValueConverter {
61 explicit UniformQuantizedValueConverter(UniformQuantizedType uniformType) in UniformQuantizedValueConverter() function
62 : UniformQuantizedValueConverter( in UniformQuantizedValueConverter()
72 UniformQuantizedValueConverter(double scale, double zeroPoint, in UniformQuantizedValueConverter() function
81 UniformQuantizedValueConverter(double scale, double zeroPoint, in UniformQuantizedValueConverter() function
123 virtual ~UniformQuantizedValueConverter() {} in ~UniformQuantizedValueConverter()
199 UniformQuantizedValueConverter getPerChunkConverter(int index) const { in getPerChunkConverter()
200 UniformQuantizedValueConverter converter(scales[index], zeroPoints[index], in getPerChunkConverter()
DQuantizeUtils.h19 class UniformQuantizedValueConverter; variable
56 const UniformQuantizedValueConverter &converter,
/external/llvm-project/mlir/lib/Dialect/Quant/Utils/
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()
DUniformSupport.cpp69 SmallVector<UniformQuantizedValueConverter, 4> converters; in convert()
/external/llvm-project/mlir/unittests/Dialect/Quant/
DQuantizationUtilsTest.cpp24 : public UniformQuantizedValueConverter {
27 : UniformQuantizedValueConverter(type), qtype(type) {} in TestUniformQuantizedValueConverter()