Searched refs:outputShift (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NeuralNetworks/common/operations/ |
D | FullyConnected.cpp | 118 int32_t outputShift = 0; in fullyConnectedQuant8() local 126 outputShift = -exponent; in fullyConnectedQuant8() 141 outputOffset, outputMultiplier, outputShift, in fullyConnectedQuant8() 156 int32_t outputShift = 0; in fullyConnectedQuant8() local 162 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in fullyConnectedQuant8() 171 params.output_shift = outputShift; in fullyConnectedQuant8()
|
D | GroupedConv2D.cpp | 119 int32_t outputShift = 0; in groupedConvQuant8() local 124 outputShift = -exponent; in groupedConvQuant8() 165 -outputShift); in groupedConvQuant8() 215 auto outputShift = std::vector<int32_t>(outputDepth, 0); in groupedConvQuant8PerChannel() local 227 outputShift[i] = -exponent; in groupedConvQuant8PerChannel() 269 sum, outputMultiplier[channelIndex], -outputShift[channelIndex]); in groupedConvQuant8PerChannel()
|
D | TransposeConv2D.cpp | 209 int32_t outputShift = 0; in transposeConvNhwc() local 214 outputShift = -exponent; in transposeConvNhwc() 267 outVal = tflite::MultiplyByQuantizedMultiplier(outVal, outputMultiplier, -outputShift); in transposeConvNhwc() 344 std::vector<int32_t> outputShift(outputDepth, 0); in transposeConvQuant8PerChannelNhwc() local 355 outputShift[i] = -exponent; in transposeConvQuant8PerChannelNhwc() 409 -outputShift[d]); in transposeConvQuant8PerChannelNhwc()
|
D | Conv2D.cpp | 378 auto outputShift = std::vector<int32_t>(outputDepth, .0f); in convQuant8PerChannelNhwc() local 389 outputShift[i] = -exponent; in convQuant8PerChannelNhwc() 430 -outputShift[d]); in convQuant8PerChannelNhwc() 471 auto outputShift = std::vector<int32_t>(outputDepth, .0f); in convQuant8PerChannelNhwc() local 480 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &outputShift[i])); in convQuant8PerChannelNhwc() 501 convParams, outputMultiplier.data(), outputShift.data(), in convQuant8PerChannelNhwc()
|
D | RoiAlign.cpp | 245 int32_t outputShift = 0; in roiAlignQuantNhwc() local 246 if (!QuantizeMultiplierSmallerThanOne(realMultiplier, &outputMultiplier, &outputShift)) { in roiAlignQuantNhwc() 305 outTemp[k], outputMultiplier, -outputShift) + in roiAlignQuantNhwc()
|
D | DepthwiseConv2D.cpp | 305 auto outputShift = std::vector<int32_t>(outputDepth, .0f); in depthwiseConvQuant8PerChannelNhwc() local 316 outputShift[i] = -exponent; in depthwiseConvQuant8PerChannelNhwc() 357 -outputShift[oc]); in depthwiseConvQuant8PerChannelNhwc()
|