Searched refs:realMultiplier (Results 1 – 6 of 6) sorted by relevance
/frameworks/ml/nn/common/operations/ |
D | GroupedConv2D.cpp | 112 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()
|
D | FullyConnected.cpp | 107 double realMultiplier = 0.0; in fullyConnectedQuant8() local 114 &realMultiplier)); in fullyConnectedQuant8() 116 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8()
|
D | DepthwiseConv2D.cpp | 175 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()
|
D | TransposeConv2D.cpp | 196 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()
|
D | Conv2D.cpp | 306 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()
|
D | RoiAlign.cpp | 236 float realMultiplier = inputShape.scale * wScale / outputShape.scale / numSamplingPoints; in roiAlignNhwc() local 239 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignNhwc()
|