Searched refs:QuantizeMultiplier (Results 1 – 12 of 12) sorted by relevance
/packages/modules/NeuralNetworks/common/operations/ |
D | QLSTM.cpp | 483 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 …]
|
D | PRelu.cpp | 80 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()
|
D | FullyConnected.cpp | 125 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8() 162 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &outputShift)); in fullyConnectedQuant8()
|
D | GroupedConv2D.cpp | 123 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in groupedConvQuant8() 226 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in groupedConvQuant8PerChannel()
|
D | Conv2D.cpp | 246 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()
|
D | Activation.cpp | 341 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()
|
D | TransposeConv2D.cpp | 213 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc() 354 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc()
|
D | DepthwiseConv2D.cpp | 213 NN_RET_CHECK(QuantizeMultiplier(real_multiplier, &output_multiplier, &exponent)); in depthwiseConvNhwc() 315 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannelNhwc()
|
D | QuantizedLSTM.cpp | 409 tflite::QuantizeMultiplier(realAccumMultiplier, &accumMultiplier, &accumShift); in eval()
|
/packages/modules/NeuralNetworks/common/ |
D | UtilsTest.cpp | 311 TEST(QuantizationUtilTest, QuantizeMultiplier) { in TEST() argument 315 EXPECT_TRUE(QuantizeMultiplier(value, &q, &s)); in TEST() 339 EXPECT_TRUE(QuantizeMultiplier(value, &q, &s)); in TEST()
|
D | OperationsUtils.cpp | 175 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/ |
D | OperationsUtils.h | 164 __wur bool QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier,
|