Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/operations/
DQLSTM.cpp481 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 …]
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.cpp124 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8()
161 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.cpp245 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()
DActivation.cpp339 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()
DTransposeConv2D.cpp212 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc()
353 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc()
DDepthwiseConv2D.cpp211 NN_RET_CHECK(QuantizeMultiplier(real_multiplier, &output_multiplier, &exponent)); in depthwiseConvNhwc()
313 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannelNhwc()
DQuantizedLSTM.cpp412 tflite::QuantizeMultiplier(realAccumMultiplier, &accumMultiplier, &accumShift); in eval()
/frameworks/ml/nn/common/
DUtilsTest.cpp218 TEST(QuantizationUtilTest, QuantizeMultiplier) { in TEST() argument
222 EXPECT_TRUE(QuantizeMultiplier(value, &q, &s)); in TEST()
246 EXPECT_TRUE(QuantizeMultiplier(value, &q, &s)); in TEST()
DOperationsUtils.cpp177 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/
DOperationsUtils.h180 __wur bool QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier,