Searched refs:multiplier_exponent (Results 1 – 19 of 19) sorted by relevance
/external/ruy/ruy/ |
D | mul_params.h | 123 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;
|
D | apply_multiplier_test.cc | 29 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()
|
D | mul_params_test.cc | 35 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()
|
D | kernel_common.h | 103 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();
|
D | apply_multiplier.h | 76 : mul_params.multiplier_exponent();
|
D | test.h | 806 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 …]
|
D | kernel_avx2_fma.cc | 352 params.multiplier_exponent + multiplier_channel)); 865 params.multiplier_exponent + channel));
|
D | kernel_arm32.cc | 606 offsetof(Params, multiplier_exponent) == RUY_OFFSET_MULTIPLIER_EXPONENT, in CheckOffsetsInKernelParams8bit()
|
D | kernel_avx512.cc | 364 params.multiplier_exponent + multiplier_channel)); 776 params.multiplier_exponent + channel));
|
D | kernel_avx.cc | 726 params.multiplier_exponent + multiplier_channel)); 1311 params.multiplier_exponent + channel));
|
D | kernel_arm64.cc | 75 offsetof(Params, multiplier_exponent) == RUY_OFFSET_MULTIPLIER_EXPONENT, in CheckOffsetsInKernelParams8bit()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | cpu_backend_gemm_params.h | 125 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()
|
D | cpu_backend_gemm_custom_gemv.h | 557 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));
|
D | cpu_backend_gemm_test.cc | 328 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()
|
D | cpu_backend_gemm_ruy.h | 87 ruy_mul_params->set_multiplier_exponent(params.multiplier_exponent);
|
D | cpu_backend_gemm_gemmlowp.h | 100 scale_stage.result_exponent = params.multiplier_exponent;
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/ |
D | fully_connected.h | 84 gemm_params.multiplier_exponent = output_shift; in FullyConnected()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | batch_matmul.h | 369 gemm_params.multiplier_exponent = output_shift; in BatchMatMul()
|
D | optimized_ops.h | 425 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()
|