Home
last modified time | relevance | path

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

/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ir/
H A DQuantizeUtils.cc37 converter.quantizeFloatToInt(floatAttr.getValue())); in convertPrimitiveValueAttr()
54 converter.quantizeFloatToInt(*realFPElementsAttr.begin())); in convertDenseFPElementsAttr()
58 quantValues.push_back(converter.quantizeFloatToInt(realVal)); in convertDenseFPElementsAttr()
H A DUniformSupport.h113 virtual APInt quantizeFloatToInt(APFloat expressedValue) const { in quantizeFloatToInt() function
141 APInt qValue = quantizeFloatToInt(std::move(expressedValue)); in quantizeFloatToInt64()
H A DUniformSupport.cc94 return converters[chunkIndex % dimSize].quantizeFloatToInt(old); in convert()