Searched refs:outputMultiplier (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NeuralNetworks/common/operations/ |
D | FullyConnected.cpp | 117 int32_t outputMultiplier = 0; in fullyConnectedQuant8() local 125 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8() 141 outputOffset, outputMultiplier, outputShift, in fullyConnectedQuant8() 155 int32_t outputMultiplier = 0; in fullyConnectedQuant8() local 162 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in fullyConnectedQuant8() 170 params.output_multiplier = outputMultiplier; in fullyConnectedQuant8()
|
D | GroupedConv2D.cpp | 118 int32_t outputMultiplier = 0; in groupedConvQuant8() local 123 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in groupedConvQuant8() 164 sum = tflite::MultiplyByQuantizedMultiplier(sum, outputMultiplier, in groupedConvQuant8() 214 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in groupedConvQuant8PerChannel() local 226 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in groupedConvQuant8PerChannel() 269 sum, outputMultiplier[channelIndex], -outputShift[channelIndex]); in groupedConvQuant8PerChannel()
|
D | TransposeConv2D.cpp | 208 int32_t outputMultiplier = 0; in transposeConvNhwc() local 213 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc() 267 outVal = tflite::MultiplyByQuantizedMultiplier(outVal, outputMultiplier, -outputShift); in transposeConvNhwc() 343 std::vector<int32_t> outputMultiplier(outputDepth, 0); in transposeConvQuant8PerChannelNhwc() local 354 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc() 408 outVal = tflite::MultiplyByQuantizedMultiplier(outVal, outputMultiplier[d], in transposeConvQuant8PerChannelNhwc()
|
D | Conv2D.cpp | 377 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in convQuant8PerChannelNhwc() local 388 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in convQuant8PerChannelNhwc() 429 sum = tflite::MultiplyByQuantizedMultiplier(sum, outputMultiplier[d], in convQuant8PerChannelNhwc() 470 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in convQuant8PerChannelNhwc() local 480 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &outputShift[i])); in convQuant8PerChannelNhwc() 501 convParams, outputMultiplier.data(), outputShift.data(), in convQuant8PerChannelNhwc()
|
D | RoiAlign.cpp | 244 int32_t outputMultiplier = 0; in roiAlignQuantNhwc() local 246 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignQuantNhwc() 305 outTemp[k], outputMultiplier, -outputShift) + in roiAlignQuantNhwc()
|
D | DepthwiseConv2D.cpp | 304 auto outputMultiplier = std::vector<int32_t>(outputDepth, 0); in depthwiseConvQuant8PerChannelNhwc() local 315 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannelNhwc() 356 sum = tflite::MultiplyByQuantizedMultiplier(sum, outputMultiplier[oc], in depthwiseConvQuant8PerChannelNhwc()
|