Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DOperationsUtils.cpp340 double doubleRet = doubleValue / newShape.scale + newShape.offset; in requantize() local
341 if (doubleRet < 0) return 0; in requantize()
342 if (doubleRet > 255) return 255; in requantize()
343 return static_cast<uint8_t>(std::round(doubleRet)); in requantize()