Searched refs:realMultiplier (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NeuralNetworks/common/operations/ |
D | FullyConnected.cpp | 116 double realMultiplier = 0.0; in fullyConnectedQuant8() local 123 &realMultiplier)); in fullyConnectedQuant8() 125 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8() 154 double realMultiplier = 0.0; in fullyConnectedQuant8() local 161 &realMultiplier)); in fullyConnectedQuant8() 162 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in fullyConnectedQuant8()
|
D | GroupedConv2D.cpp | 117 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()
|
D | TransposeConv2D.cpp | 207 double realMultiplier = 0.0; in transposeConvNhwc() local 211 &realMultiplier)); in transposeConvNhwc() 213 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc() 342 std::vector<double> realMultiplier(outputDepth, 0.0); in transposeConvQuant8PerChannelNhwc() local 352 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in transposeConvQuant8PerChannelNhwc() 354 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc()
|
D | Conv2D.cpp | 376 auto realMultiplier = std::vector<double>(outputDepth, .0f); in convQuant8PerChannelNhwc() local 386 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in convQuant8PerChannelNhwc() 388 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in convQuant8PerChannelNhwc() 469 auto realMultiplier = std::vector<double>(outputDepth, .0f); in convQuant8PerChannelNhwc() local 479 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in convQuant8PerChannelNhwc() 480 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &outputShift[i])); in convQuant8PerChannelNhwc()
|
D | DepthwiseConv2D.cpp | 303 auto realMultiplier = std::vector<double>(outputDepth, .0f); in depthwiseConvQuant8PerChannelNhwc() local 313 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in depthwiseConvQuant8PerChannelNhwc() 315 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannelNhwc()
|
D | RoiAlign.cpp | 243 float realMultiplier = inputShape.scale * wScale / outputShape.scale / numSamplingPoints; in roiAlignQuantNhwc() local 246 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignQuantNhwc()
|