Home
last modified time | relevance | path

Searched refs:QuantizeMultiplier (Results 1 – 12 of 12) sorted by relevance

/packages/modules/NeuralNetworks/common/operations/
DQLSTM.cpp483 NN_RET_CHECK(QuantizeMultiplier(inputToInputEffectiveScale, &inputToInputEffectiveScaleA, in execute()
487 NN_RET_CHECK(QuantizeMultiplier(recurrentToInputEffectiveScale, in execute()
493 NN_RET_CHECK(QuantizeMultiplier(cellToInputEffectiveScale, &cellToInputEffectiveScaleA, in execute()
501 NN_RET_CHECK(QuantizeMultiplier(inputLayerNormShape.scale, &inputLayerNormScaleA, in execute()
509 NN_RET_CHECK(QuantizeMultiplier(inputToForgetEffectiveScale, &inputToForgetEffectiveScaleA, in execute()
515 NN_RET_CHECK(QuantizeMultiplier(recurrentToForgetEffectiveScale, in execute()
523 NN_RET_CHECK(QuantizeMultiplier(cellToForgetEffectiveScale, &cellToForgetEffectiveScaleA, in execute()
529 NN_RET_CHECK(QuantizeMultiplier(forgetLayerNormShape.scale, &forgetLayerNormScaleA, in execute()
537 NN_RET_CHECK(QuantizeMultiplier(inputToCellEffectiveScale, &inputToCellEffectiveScaleA, in execute()
543 NN_RET_CHECK(QuantizeMultiplier(recurrentToCellEffectiveScale, &recurrentToCellEffectiveScaleA, in execute()
[all …]
DPRelu.cpp80 tflite::QuantizeMultiplier(real_multiplier_pos, &output_multiplier_pos, &output_shift_pos); in evalQuant8()
81 tflite::QuantizeMultiplier(real_multiplier_neg, &output_multiplier_neg, &output_shift_neg); in evalQuant8()
DFullyConnected.cpp125 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8()
162 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in fullyConnectedQuant8()
DGroupedConv2D.cpp123 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in groupedConvQuant8()
226 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in groupedConvQuant8PerChannel()
DConv2D.cpp246 NN_RET_CHECK(QuantizeMultiplier(real_multiplier, &output_multiplier, &exponent)); in convNhwc()
388 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in convQuant8PerChannelNhwc()
480 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &outputShift[i])); in convQuant8PerChannelNhwc()
DActivation.cpp341 NN_RET_CHECK(QuantizeMultiplier(output_multiplier, &output_multiplier_fixedpoint_int32, in hardSwishQuant()
349 NN_RET_CHECK(QuantizeMultiplier(reluish_multiplier, &reluish_multiplier_fixedpoint_int32, in hardSwishQuant()
DTransposeConv2D.cpp213 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc()
354 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc()
DDepthwiseConv2D.cpp213 NN_RET_CHECK(QuantizeMultiplier(real_multiplier, &output_multiplier, &exponent)); in depthwiseConvNhwc()
315 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannelNhwc()
DQuantizedLSTM.cpp409 tflite::QuantizeMultiplier(realAccumMultiplier, &accumMultiplier, &accumShift); in eval()
/packages/modules/NeuralNetworks/common/
DUtilsTest.cpp311 TEST(QuantizationUtilTest, QuantizeMultiplier) { in TEST() argument
315 EXPECT_TRUE(QuantizeMultiplier(value, &q, &s)); in TEST()
339 EXPECT_TRUE(QuantizeMultiplier(value, &q, &s)); in TEST()
DOperationsUtils.cpp175 bool QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier, int32_t* shift) { in QuantizeMultiplier() function
211 NN_RET_CHECK(QuantizeMultiplier(double_multiplier, quantized_multiplier, left_shift)); in QuantizeMultiplierSmallerThanOneExp()
/packages/modules/NeuralNetworks/common/include/
DOperationsUtils.h164 __wur bool QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier,