Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/cpu_operations/
DFullyConnected.cpp113 int32_t outputMultiplier = 0; in fullyConnectedQuant8() local
121 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8()
137 outputOffset, outputMultiplier, outputShift, in fullyConnectedQuant8()
151 int32_t outputMultiplier = 0; in fullyConnectedQuant8() local
158 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in fullyConnectedQuant8()
166 params.output_multiplier = outputMultiplier; in fullyConnectedQuant8()
DGroupedConv2D.cpp122 int32_t outputMultiplier = 0; in groupedConvQuant8() local
127 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in groupedConvQuant8()
168 sum = tflite::MultiplyByQuantizedMultiplier(sum, outputMultiplier, in groupedConvQuant8()
219 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in groupedConvQuant8PerChannel() local
231 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in groupedConvQuant8PerChannel()
274 sum, outputMultiplier[channelIndex], -outputShift[channelIndex]); in groupedConvQuant8PerChannel()
DBatchMatmul.cpp175 int32_t outputMultiplier = 0; in batchMatMulQuantized() local
179 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in batchMatMulQuantized()
184 params.output_multiplier = outputMultiplier; in batchMatMulQuantized()
DTransposeConv2D.cpp204 int32_t outputMultiplier = 0; in transposeConvNhwc() local
209 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc()
263 outVal = tflite::MultiplyByQuantizedMultiplier(outVal, outputMultiplier, -outputShift); in transposeConvNhwc()
339 std::vector<int32_t> outputMultiplier(outputDepth, 0); in transposeConvQuant8PerChannelNhwc() local
350 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc()
404 outVal = tflite::MultiplyByQuantizedMultiplier(outVal, outputMultiplier[d], in transposeConvQuant8PerChannelNhwc()
DConv2D.cpp374 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in convQuant8PerChannelNhwc() local
385 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in convQuant8PerChannelNhwc()
426 sum = tflite::MultiplyByQuantizedMultiplier(sum, outputMultiplier[d], in convQuant8PerChannelNhwc()
467 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in convQuant8PerChannelNhwc() local
477 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &outputShift[i])); in convQuant8PerChannelNhwc()
498 convParams, outputMultiplier.data(), outputShift.data(), in convQuant8PerChannelNhwc()
DRoiAlign.cpp232 int32_t outputMultiplier = 0; in roiAlignQuantNhwc() local
234 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignQuantNhwc()
293 outTemp[k], outputMultiplier, -outputShift) + in roiAlignQuantNhwc()
DDepthwiseConv2D.cpp300 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in depthwiseConvQuant8PerChannelNhwc() local
311 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannelNhwc()
352 sum = tflite::MultiplyByQuantizedMultiplier(sum, outputMultiplier[oc], in depthwiseConvQuant8PerChannelNhwc()