Home
last modified time | relevance | path

Searched refs:quantizeFloatToInt (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Quant/Utils/
DQuantizeUtils.cpp29 converter.quantizeFloatToInt(floatAttr.getValue())); in convertPrimitiveValueAttr()
46 converter.quantizeFloatToInt(*realFPElementsAttr.begin())); in convertDenseFPElementsAttr()
50 quantValues.push_back(converter.quantizeFloatToInt(realVal)); in convertDenseFPElementsAttr()
DUniformSupport.cpp85 return converters[chunkIndex % dimSize].quantizeFloatToInt(old); in convert()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h91 virtual APInt quantizeFloatToInt(APFloat expressedValue) const { in quantizeFloatToInt() function
119 APInt qValue = quantizeFloatToInt(expressedValue); in quantizeFloatToInt64()
/external/llvm-project/mlir/unittests/Dialect/Quant/
DQuantizationUtilsTest.cpp28 APInt quantizeFloatToInt(APFloat expressedValue) const { in quantizeFloatToInt() function in __anon584a34310111::TestUniformQuantizedValueConverter