Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/operations/
DFullyConnected.cpp115 double realMultiplier = 0.0; in fullyConnectedQuant8() local
122 &realMultiplier)); in fullyConnectedQuant8()
124 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8()
153 double realMultiplier = 0.0; in fullyConnectedQuant8() local
160 &realMultiplier)); in fullyConnectedQuant8()
161 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in fullyConnectedQuant8()
DGroupedConv2D.cpp117 double realMultiplier = 0.0; in groupedConvQuant8() local
121 &realMultiplier)); in groupedConvQuant8()
123 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in groupedConvQuant8()
213 auto realMultiplier = std::vector<double>(outputDepth, .0f); in groupedConvQuant8PerChannel() local
224 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in groupedConvQuant8PerChannel()
226 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in groupedConvQuant8PerChannel()
DTransposeConv2D.cpp206 double realMultiplier = 0.0; in transposeConvNhwc() local
210 &realMultiplier)); in transposeConvNhwc()
212 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc()
341 std::vector<double> realMultiplier(outputDepth, 0.0); in transposeConvQuant8PerChannelNhwc() local
351 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in transposeConvQuant8PerChannelNhwc()
353 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc()
DConv2D.cpp375 auto realMultiplier = std::vector<double>(outputDepth, .0f); in convQuant8PerChannelNhwc() local
385 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in convQuant8PerChannelNhwc()
387 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in convQuant8PerChannelNhwc()
468 auto realMultiplier = std::vector<double>(outputDepth, .0f); in convQuant8PerChannelNhwc() local
478 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in convQuant8PerChannelNhwc()
479 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &outputShift[i])); in convQuant8PerChannelNhwc()
DDepthwiseConv2D.cpp301 auto realMultiplier = std::vector<double>(outputDepth, .0f); in depthwiseConvQuant8PerChannelNhwc() local
311 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in depthwiseConvQuant8PerChannelNhwc()
313 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannelNhwc()
DRoiAlign.cpp241 float realMultiplier = inputShape.scale * wScale / outputShape.scale / numSamplingPoints; in roiAlignQuantNhwc() local
244 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignQuantNhwc()