Searched refs:outputMultiplier (Results 1 – 6 of 6) sorted by relevance
/frameworks/ml/nn/common/operations/ |
D | GroupedConv2D.cpp | 113 int32_t outputMultiplier = 0; in groupedConvQuant8() local 118 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in groupedConvQuant8() 159 sum = tflite::MultiplyByQuantizedMultiplier(sum, outputMultiplier, in groupedConvQuant8() 191 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in groupedConvQuant8PerChannel() local 203 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in groupedConvQuant8PerChannel() 246 sum, outputMultiplier[channelIndex], -outputShift[channelIndex]); in groupedConvQuant8PerChannel()
|
D | FullyConnected.cpp | 108 int32_t outputMultiplier = 0; in fullyConnectedQuant8() local 116 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8() 132 outputOffset, outputMultiplier, outputShift, in fullyConnectedQuant8()
|
D | DepthwiseConv2D.cpp | 176 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in depthwiseConvQuant8PerChannel() local 187 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannel() 228 sum = tflite::MultiplyByQuantizedMultiplier(sum, outputMultiplier[oc], in depthwiseConvQuant8PerChannel()
|
D | TransposeConv2D.cpp | 197 int32_t outputMultiplier = 0; in transposeConvNhwc() local 202 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc() 256 outVal = tflite::MultiplyByQuantizedMultiplier(outVal, outputMultiplier, -outputShift); in transposeConvNhwc() 331 std::vector<int32_t> outputMultiplier(outputDepth, 0); in transposeConvQuant8PerChannelNhwc() local 342 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc() 396 outVal = tflite::MultiplyByQuantizedMultiplier(outVal, outputMultiplier[d], in transposeConvQuant8PerChannelNhwc()
|
D | RoiAlign.cpp | 237 int32_t outputMultiplier = 0; in roiAlignNhwc() local 239 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignNhwc() 298 outTemp[k], outputMultiplier, -outputShift) + in roiAlignNhwc()
|
D | Conv2D.cpp | 307 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in convQuant8PerChannelNhwc() local 318 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in convQuant8PerChannelNhwc() 359 sum = tflite::MultiplyByQuantizedMultiplier(sum, outputMultiplier[d], in convQuant8PerChannelNhwc()
|