Searched refs:realMultiplier (Results 1 – 7 of 7) sorted by relevance
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | FullyConnected.cpp | 112 double realMultiplier = 0.0; in fullyConnectedQuant8() local 119 &realMultiplier)); in fullyConnectedQuant8() 121 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8() 150 double realMultiplier = 0.0; in fullyConnectedQuant8() local 157 &realMultiplier)); in fullyConnectedQuant8() 158 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in fullyConnectedQuant8()
|
D | GroupedConv2D.cpp | 121 double realMultiplier = 0.0; in groupedConvQuant8() local 125 &realMultiplier)); in groupedConvQuant8() 127 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in groupedConvQuant8() 218 auto realMultiplier = std::vector<double>(outputDepth, .0f); in groupedConvQuant8PerChannel() local 229 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in groupedConvQuant8PerChannel() 231 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in groupedConvQuant8PerChannel()
|
D | TransposeConv2D.cpp | 203 double realMultiplier = 0.0; in transposeConvNhwc() local 207 &realMultiplier)); in transposeConvNhwc() 209 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc() 338 std::vector<double> realMultiplier(outputDepth, 0.0); in transposeConvQuant8PerChannelNhwc() local 348 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in transposeConvQuant8PerChannelNhwc() 350 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc()
|
D | BatchMatmul.cpp | 174 double realMultiplier = 0.0; in batchMatMulQuantized() local 178 outputShape, &realMultiplier)); in batchMatMulQuantized() 179 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in batchMatMulQuantized()
|
D | Conv2D.cpp | 373 auto realMultiplier = std::vector<double>(outputDepth, .0f); in convQuant8PerChannelNhwc() local 383 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in convQuant8PerChannelNhwc() 385 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in convQuant8PerChannelNhwc() 466 auto realMultiplier = std::vector<double>(outputDepth, .0f); in convQuant8PerChannelNhwc() local 476 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in convQuant8PerChannelNhwc() 477 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &outputShift[i])); in convQuant8PerChannelNhwc()
|
D | DepthwiseConv2D.cpp | 299 auto realMultiplier = std::vector<double>(outputDepth, .0f); in depthwiseConvQuant8PerChannelNhwc() local 309 inputShape, filterChannelShape, biasChannelShape, outputShape, &realMultiplier[i])); in depthwiseConvQuant8PerChannelNhwc() 311 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannelNhwc()
|
D | RoiAlign.cpp | 231 float realMultiplier = inputShape.scale * wScale / outputShape.scale / numSamplingPoints; in roiAlignQuantNhwc() local 234 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignQuantNhwc()
|