Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/operations/
DGroupedConv2D.cpp113 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()
DFullyConnected.cpp108 int32_t outputMultiplier = 0; in fullyConnectedQuant8() local
116 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8()
132 outputOffset, outputMultiplier, outputShift, in fullyConnectedQuant8()
DDepthwiseConv2D.cpp176 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()
DTransposeConv2D.cpp197 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()
DRoiAlign.cpp237 int32_t outputMultiplier = 0; in roiAlignNhwc() local
239 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignNhwc()
298 outTemp[k], outputMultiplier, -outputShift) + in roiAlignNhwc()
DConv2D.cpp307 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()