Home
last modified time | relevance | path

Searched refs:multiplier_exponent (Results 1 – 19 of 19) sorted by relevance

/external/ruy/ruy/
Dmul_params.h123 int multiplier_exponent() const { in multiplier_exponent() function
124 return storage_.perchannel ? 0 : storage_.multiplier_exponent; in multiplier_exponent()
128 storage_.multiplier_exponent = value; in set_multiplier_exponent()
233 static constexpr int multiplier_exponent = 0; member
260 int multiplier_exponent = 0;
288 static constexpr int multiplier_exponent = 0;
Dapply_multiplier_test.cc29 int multiplier_exponent, in TestMultiplyByQuantizedMultiplier() argument
33 multiplier_exponent)); in TestMultiplyByQuantizedMultiplier()
121 const int multiplier_exponent[4] = {0, 0, -1, -1}; in TEST() local
124 mul_params.set_multiplier_exponent_perchannel(multiplier_exponent); in TEST()
Dmul_params_test.cc35 EXPECT_EQ(mul_params.multiplier_exponent(), 0); in TEST()
50 EXPECT_EQ(mul_params.multiplier_exponent(), 4); in TEST()
64 EXPECT_EQ(mul_params.multiplier_exponent(), 0); in TEST()
Dkernel_common.h103 const std::int32_t* multiplier_exponent;
183 params->multiplier_exponent = mul_params.multiplier_exponent_perchannel();
186 params->multiplier_exponent = params->multiplier_exponent_buf;
189 params->multiplier_exponent_buf[i] = mul_params.multiplier_exponent();
Dapply_multiplier.h76 : mul_params.multiplier_exponent();
Dtest.h806 quantize_down_stage.result_exponent = mul_params.multiplier_exponent();
936 RUY_CHECK_EQ(mul_params.multiplier_exponent(), 0);
1026 RUY_CHECK_EQ(mul_params.multiplier_exponent(), 0);
1179 RUY_CHECK_EQ(mul_params.multiplier_exponent(), 0);
1605 int* multiplier_exponent) {
1609 *multiplier_exponent = 0;
1612 const double q = std::frexp(multiplier_double, multiplier_exponent);
1617 ++*multiplier_exponent;
1643 int nudged_exponent = test_set->mul_params.multiplier_exponent() - 1 +
1670 int multiplier_exponent;
[all …]
Dkernel_avx2_fma.cc352 params.multiplier_exponent + multiplier_channel));
865 params.multiplier_exponent + channel));
Dkernel_arm32.cc606 offsetof(Params, multiplier_exponent) == RUY_OFFSET_MULTIPLIER_EXPONENT, in CheckOffsetsInKernelParams8bit()
Dkernel_avx512.cc364 params.multiplier_exponent + multiplier_channel));
776 params.multiplier_exponent + channel));
Dkernel_avx.cc726 params.multiplier_exponent + multiplier_channel));
1311 params.multiplier_exponent + channel));
Dkernel_arm64.cc75 offsetof(Params, multiplier_exponent) == RUY_OFFSET_MULTIPLIER_EXPONENT, in CheckOffsetsInKernelParams8bit()
/external/tensorflow/tensorflow/lite/kernels/
Dcpu_backend_gemm_params.h125 int multiplier_exponent = 0; member
174 TFLITE_DCHECK(!params.multiplier_exponent); in ValidateGemmParams()
188 TFLITE_DCHECK(!params.multiplier_exponent); in ValidateGemmParams()
195 TFLITE_DCHECK(!params.multiplier_exponent); in ValidateGemmParams()
Dcpu_backend_gemm_custom_gemv.h557 int32x4_t multiplier_exponent;
560 multiplier_exponent =
565 multiplier_exponent = vdupq_n_s32(params.multiplier_exponent);
571 vmaxq_s32(multiplier_exponent, vdupq_n_s32(0));
577 vminq_s32(multiplier_exponent, vdupq_n_s32(0));
Dcpu_backend_gemm_test.cc328 params_copy.multiplier_exponent = bisect_mid; in BisectReasonableMultiplierExponent()
453 params.multiplier_exponent = BisectReasonableMultiplierExponent( in TestSomeGemm()
481 const int exponent_min = params.multiplier_exponent - 2; in TestSomeGemm()
482 const int exponent_max = params.multiplier_exponent + 2; in TestSomeGemm()
Dcpu_backend_gemm_ruy.h87 ruy_mul_params->set_multiplier_exponent(params.multiplier_exponent);
Dcpu_backend_gemm_gemmlowp.h100 scale_stage.result_exponent = params.multiplier_exponent;
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dfully_connected.h84 gemm_params.multiplier_exponent = output_shift; in FullyConnected()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dbatch_matmul.h369 gemm_params.multiplier_exponent = output_shift; in BatchMatMul()
Doptimized_ops.h425 gemm_params.multiplier_exponent = output_shift; in FullyConnected()
486 gemm_params.multiplier_exponent = output_shift; in FullyConnected()
1634 gemm_params.multiplier_exponent = output_shift; in Conv()
3004 gemm_params.multiplier_exponent = accum_shift; in LstmCell()