Searched refs:QuantizeMultiplier (Results 1 – 12 of 12) sorted by relevance
/frameworks/ml/nn/common/operations/ |
D | QLSTM.cpp | 481 NN_RET_CHECK(QuantizeMultiplier(inputToInputEffectiveScale, &inputToInputEffectiveScaleA, in execute() 485 NN_RET_CHECK(QuantizeMultiplier(recurrentToInputEffectiveScale, in execute() 491 NN_RET_CHECK(QuantizeMultiplier(cellToInputEffectiveScale, &cellToInputEffectiveScaleA, in execute() 499 NN_RET_CHECK(QuantizeMultiplier(inputLayerNormShape.scale, &inputLayerNormScaleA, in execute() 507 NN_RET_CHECK(QuantizeMultiplier(inputToForgetEffectiveScale, &inputToForgetEffectiveScaleA, in execute() 513 NN_RET_CHECK(QuantizeMultiplier(recurrentToForgetEffectiveScale, in execute() 521 NN_RET_CHECK(QuantizeMultiplier(cellToForgetEffectiveScale, &cellToForgetEffectiveScaleA, in execute() 527 NN_RET_CHECK(QuantizeMultiplier(forgetLayerNormShape.scale, &forgetLayerNormScaleA, in execute() 535 NN_RET_CHECK(QuantizeMultiplier(inputToCellEffectiveScale, &inputToCellEffectiveScaleA, in execute() 541 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 | 124 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8() 161 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 | 245 NN_RET_CHECK(QuantizeMultiplier(real_multiplier, &output_multiplier, &exponent)); in convNhwc() 387 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in convQuant8PerChannelNhwc() 479 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &outputShift[i])); in convQuant8PerChannelNhwc()
|
D | Activation.cpp | 339 NN_RET_CHECK(QuantizeMultiplier(output_multiplier, &output_multiplier_fixedpoint_int32, in hardSwishQuant() 347 NN_RET_CHECK(QuantizeMultiplier(reluish_multiplier, &reluish_multiplier_fixedpoint_int32, in hardSwishQuant()
|
D | TransposeConv2D.cpp | 212 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc() 353 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc()
|
D | DepthwiseConv2D.cpp | 211 NN_RET_CHECK(QuantizeMultiplier(real_multiplier, &output_multiplier, &exponent)); in depthwiseConvNhwc() 313 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannelNhwc()
|
D | QuantizedLSTM.cpp | 412 tflite::QuantizeMultiplier(realAccumMultiplier, &accumMultiplier, &accumShift); in eval()
|
/frameworks/ml/nn/common/ |
D | UtilsTest.cpp | 218 TEST(QuantizationUtilTest, QuantizeMultiplier) { in TEST() argument 222 EXPECT_TRUE(QuantizeMultiplier(value, &q, &s)); in TEST() 246 EXPECT_TRUE(QuantizeMultiplier(value, &q, &s)); in TEST()
|
D | OperationsUtils.cpp | 177 bool QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier, int32_t* shift) { in QuantizeMultiplier() function 213 NN_RET_CHECK(QuantizeMultiplier(double_multiplier, quantized_multiplier, left_shift)); in QuantizeMultiplierSmallerThanOneExp()
|
/frameworks/ml/nn/common/include/ |
D | OperationsUtils.h | 180 __wur bool QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier,
|