Home
last modified time | relevance | path

Searched refs:MultiplyByQuantizedMultiplier (Results 1 – 25 of 43) sorted by relevance

12

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dprelu.h51 output_value = MultiplyByQuantizedMultiplier( in BroadcastPrelu4DSlow()
58 output_value = MultiplyByQuantizedMultiplier( in BroadcastPrelu4DSlow()
89 output_value = MultiplyByQuantizedMultiplier( in Prelu()
94 output_value = MultiplyByQuantizedMultiplier(input_value * alpha_value, in Prelu()
Dleaky_relu.h51 MultiplyByQuantizedMultiplier( in QuantizeLeakyRelu()
56 MultiplyByQuantizedMultiplier( in QuantizeLeakyRelu()
Dfully_connected.h101 acc = MultiplyByQuantizedMultiplier(acc, output_multiplier, output_shift); in FullyConnected()
154 MultiplyByQuantizedMultiplier(accum, output_multiplier, output_shift); in FullyConnected()
252 MultiplyByQuantizedMultiplier(acc, output_multiplier, output_shift); in ShuffledFullyConnected()
302 acc = MultiplyByQuantizedMultiplier(acc, output_multiplier, in ShuffledFullyConnected()
Dportable_tensor_utils.cc308 acc = MultiplyByQuantizedMultiplier(acc, multiplier, shift); in PortableMatrixBatchVectorMultiplyAccumulateImpl()
360 acc = MultiplyByQuantizedMultiplier(acc, input_to_gate_effective_scale_a, in PortableMatrixBatchVectorMultiply()
396 acc = MultiplyByQuantizedMultiplier(acc, proj_effective_scale_a, in PortableMatrixBatchVectorMultiply()
446 int32_t rescaled = MultiplyByQuantizedMultiplier( in PortableApplyLayerNorm()
452 int32_t val5 = MultiplyByQuantizedMultiplier(val4, layer_norm_scale_a, in PortableApplyLayerNorm()
630 value = MultiplyByQuantizedMultiplier(value, multiplier, shift); in PortableCwiseMul()
689 prod = MultiplyByQuantizedMultiplier(prod, multiplier, shift); in PortableVectorBatchVectorCwiseProductAccumulate()
758 int32_t x_scaled = MultiplyByQuantizedMultiplier(x, input_effective_scale_a, in PortableTwoGateSaturatingAdd()
760 int32_t h_scaled = MultiplyByQuantizedMultiplier( in PortableTwoGateSaturatingAdd()
Dmul.h34 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulElementwise()
100 MultiplyByQuantizedMultiplier(input1_val * input2_val, in BroadcastMul4DSlow()
Drequantize.h56 MultiplyByQuantizedMultiplier(input, effective_scale_multiplier, in Requantize()
Dsvdf.h104 MultiplyByQuantizedMultiplier(dot_prod, scale_1_a, scale_1_b); in EvalIntegerSVDF()
144 int32_t x2 = MultiplyByQuantizedMultiplier(x1, scale_2_a, scale_2_b); in EvalIntegerSVDF()
Ddepthwiseconv_uint8.h68 return MultiplyByQuantizedMultiplier(x, quantized_multiplier, shift); in DepthwiseConvRound()
74 return MultiplyByQuantizedMultiplier(x, quantized_multiplier, shift);
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dlog_softmax.h57 const int32_t input_diff_in_q5 = MultiplyByQuantizedMultiplier( in LogSoftmax()
77 MultiplyByQuantizedMultiplier(shifted_log_sum_of_exps_in_q5, in LogSoftmax()
86 const int32_t input_diff_in_q5 = MultiplyByQuantizedMultiplier( in LogSoftmax()
Dfully_connected.h56 acc = MultiplyByQuantizedMultiplier(acc, output_multiplier, output_shift); in FullyConnected()
97 MultiplyByQuantizedMultiplier(acc, output_multiplier, output_shift); in FullyConnected()
Dmul.h34 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulElementwise()
115 MultiplyByQuantizedMultiplier(input1_val * input2_val, in BroadcastMul4DSlow()
Dconv.h114 acc = MultiplyByQuantizedMultiplier( in ConvPerChannel()
206 int32_t scaled_acc = MultiplyByQuantizedMultiplier( in ConvPerChannel()
Dl2normalization.h52 int32_t output_in_q24 = MultiplyByQuantizedMultiplier( in L2Normalization()
Dtranspose_conv.h109 acc = MultiplyByQuantizedMultiplier( in TransposeConv()
206 int32_t scaled_acc = MultiplyByQuantizedMultiplier( in TransposeConv()
Dmean.h63 acc = MultiplyByQuantizedMultiplier(acc, multiplier, shift); in Mean()
Dlogistic.h43 const int32_t input_in_q4 = MultiplyByQuantizedMultiplier( in Logistic()
Dtanh.h48 MultiplyByQuantizedMultiplier(input, input_multiplier, input_shift); in Tanh()
/external/ruy/ruy/
Dapply_multiplier.h48 std::int32_t MultiplyByQuantizedMultiplier(std::int32_t x,
77 *accum = MultiplyByQuantizedMultiplier(*accum, m, e);
Dapply_multiplier.cc48 std::int32_t MultiplyByQuantizedMultiplier(std::int32_t x, in MultiplyByQuantizedMultiplier() function
Dapply_multiplier_test.cc32 detail::MultiplyByQuantizedMultiplier(input, multiplier_fixedpoint, in TestMultiplyByQuantizedMultiplier()
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/
Dfixedpoint_utils.h36 inline ae_q56s MultiplyByQuantizedMultiplier(ae_p24x2s x_24x2, in MultiplyByQuantizedMultiplier() function
91 return MultiplyByQuantizedMultiplier(x_24x2, quantized_multiplier, shift); in MultiplyByQuantizedMultiplierResult48Bit()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util_test.cc430 return MultiplyByQuantizedMultiplier(x, quantized_multiplier, shift); in TEST()
455 EXPECT_EQ(MultiplyByQuantizedMultiplier(x, quantized_multiplier, shift), in TEST()
457 EXPECT_EQ(MultiplyByQuantizedMultiplier(-x, quantized_multiplier, shift), in TEST()
466 return MultiplyByQuantizedMultiplier(x, quantized_multiplier, shift); in TEST()
485 EXPECT_EQ(MultiplyByQuantizedMultiplier(x, quantized_multiplier, shift), in TEST()
487 EXPECT_EQ(MultiplyByQuantizedMultiplier(-x, quantized_multiplier, shift), in TEST()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dsvdf_common.cc91 dot_prod = MultiplyByQuantizedMultiplier( in EvalIntegerSvdfReference()
167 int32_t x2 = MultiplyByQuantizedMultiplier(x1, data.effective_scale_2_a, in EvalIntegerSvdfReference()
/external/tensorflow/tensorflow/lite/kernels/
Delementwise.cc197 const int32_t output = MultiplyByQuantizedMultiplier( in AbsEvalQuantized()
260 const int32_t data = MultiplyByQuantizedMultiplier(1, inv_sqrt_multiplier, in RsqrtEvalQuantized()
263 MultiplyByQuantizedMultiplier(data, op_data->multiplier, in RsqrtEvalQuantized()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dmul.h130 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulElementwise()
222 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulSimpleBroadcast()

12