Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DOperationsUtils.cpp366 uint8_t requantize<uint8_t>(uint8_t value, const Shape& oldShape, const Shape& newShape) { in requantize() argument
368 double doubleRet = doubleValue / newShape.scale + newShape.offset; in requantize()
375 int8_t requantize<int8_t>(int8_t value, const Shape& oldShape, const Shape& newShape) { in requantize() argument
377 double doubleRet = doubleValue / newShape.scale + newShape.offset; in requantize()
/packages/modules/NeuralNetworks/common/include/
DOperationsUtils.h277 T requantize(T value, const Shape& oldShape, const Shape& newShape);