Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DOperationsUtils.cpp368 uint8_t requantize<uint8_t>(uint8_t value, const Shape& oldShape, const Shape& newShape) { in requantize() argument
369 double doubleValue = (value - oldShape.offset) * oldShape.scale; in requantize()
377 int8_t requantize<int8_t>(int8_t value, const Shape& oldShape, const Shape& newShape) { in requantize() argument
378 double doubleValue = (value - oldShape.offset) * oldShape.scale; in requantize()
/frameworks/ml/nn/common/include/
DOperationsUtils.h293 T requantize(T value, const Shape& oldShape, const Shape& newShape);