Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/operations/
DGroupedConv2D.cpp112 double realMultiplier = 0.0; in groupedConvQuant8() local
116 &realMultiplier)); in groupedConvQuant8()
118 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in groupedConvQuant8()
190 auto realMultiplier = std::vector<double>(outputDepth, .0f); in groupedConvQuant8PerChannel() local
201 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in groupedConvQuant8PerChannel()
203 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in groupedConvQuant8PerChannel()
DFullyConnected.cpp107 double realMultiplier = 0.0; in fullyConnectedQuant8() local
114 &realMultiplier)); in fullyConnectedQuant8()
116 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8()
DDepthwiseConv2D.cpp175 auto realMultiplier = std::vector<double>(outputDepth, .0f); in depthwiseConvQuant8PerChannel() local
185 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in depthwiseConvQuant8PerChannel()
187 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannel()
DTransposeConv2D.cpp196 double realMultiplier = 0.0; in transposeConvNhwc() local
200 &realMultiplier)); in transposeConvNhwc()
202 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc()
330 std::vector<double> realMultiplier(outputDepth, 0.0); in transposeConvQuant8PerChannelNhwc() local
340 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in transposeConvQuant8PerChannelNhwc()
342 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc()
DConv2D.cpp306 auto realMultiplier = std::vector<double>(outputDepth, .0f); in convQuant8PerChannelNhwc() local
316 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in convQuant8PerChannelNhwc()
318 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in convQuant8PerChannelNhwc()
DRoiAlign.cpp236 float realMultiplier = inputShape.scale * wScale / outputShape.scale / numSamplingPoints; in roiAlignNhwc() local
239 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignNhwc()