Searched refs:outputShift (Results 1 – 7 of 7) sorted by relevance
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | FullyConnected.cpp | 114 int32_t outputShift = 0; in fullyConnectedQuant8() local 122 outputShift = -exponent; in fullyConnectedQuant8() 137 outputOffset, outputMultiplier, outputShift, in fullyConnectedQuant8() 152 int32_t outputShift = 0; in fullyConnectedQuant8() local 158 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in fullyConnectedQuant8() 167 params.output_shift = outputShift; in fullyConnectedQuant8()
|
D | GroupedConv2D.cpp | 123 int32_t outputShift = 0; in groupedConvQuant8() local 128 outputShift = -exponent; in groupedConvQuant8() 169 -outputShift); in groupedConvQuant8() 220 auto outputShift = std::vector<int32_t>(outputDepth, 0); in groupedConvQuant8PerChannel() local 232 outputShift[i] = -exponent; in groupedConvQuant8PerChannel() 274 sum, outputMultiplier[channelIndex], -outputShift[channelIndex]); in groupedConvQuant8PerChannel()
|
D | BatchMatmul.cpp | 176 int32_t outputShift = 0; in batchMatMulQuantized() local 179 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in batchMatMulQuantized() 185 params.output_shift = outputShift; in batchMatMulQuantized()
|
D | TransposeConv2D.cpp | 205 int32_t outputShift = 0; in transposeConvNhwc() local 210 outputShift = -exponent; in transposeConvNhwc() 263 outVal = tflite::MultiplyByQuantizedMultiplier(outVal, outputMultiplier, -outputShift); in transposeConvNhwc() 340 std::vector<int32_t> outputShift(outputDepth, 0); in transposeConvQuant8PerChannelNhwc() local 351 outputShift[i] = -exponent; in transposeConvQuant8PerChannelNhwc() 405 -outputShift[d]); in transposeConvQuant8PerChannelNhwc()
|
D | Conv2D.cpp | 375 auto outputShift = std::vector<int32_t>(outputDepth, .0f); in convQuant8PerChannelNhwc() local 386 outputShift[i] = -exponent; in convQuant8PerChannelNhwc() 427 -outputShift[d]); in convQuant8PerChannelNhwc() 468 auto outputShift = std::vector<int32_t>(outputDepth, .0f); in convQuant8PerChannelNhwc() local 477 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &outputShift[i])); in convQuant8PerChannelNhwc() 498 convParams, outputMultiplier.data(), outputShift.data(), in convQuant8PerChannelNhwc()
|
D | RoiAlign.cpp | 233 int32_t outputShift = 0; in roiAlignQuantNhwc() local 234 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignQuantNhwc() 293 outTemp[k], outputMultiplier, -outputShift) + in roiAlignQuantNhwc()
|
D | DepthwiseConv2D.cpp | 301 auto outputShift = std::vector<int32_t>(outputDepth, .0f); in depthwiseConvQuant8PerChannelNhwc() local 312 outputShift[i] = -exponent; in depthwiseConvQuant8PerChannelNhwc() 353 -outputShift[oc]); in depthwiseConvQuant8PerChannelNhwc()
|