Home
last modified time | relevance | path

Searched refs:lhs_zero_point (Results 1 – 11 of 11) sorted by relevance

/external/ruy/ruy/
Dvalidate.h41 void ValidateZeroPoints(LhsScalar lhs_zero_point, RhsScalar rhs_zero_point, in ValidateZeroPoints() argument
43 CheckZeroPoint(lhs_zero_point); in ValidateZeroPoints()
60 RUY_DCHECK(lhs_zero_point != std::numeric_limits<LhsScalar>::lowest() || in ValidateZeroPoints()
Dkernel_avx2_fma.cc132 const std::int32_t lhs_zero_point = params.lhs_zero_point;
134 (params.flags & RUY_ASM_FLAG_HAS_RHS_SUMS) && lhs_zero_point;
138 _mm256_set1_epi32(lhs_zero_point),
757 const std::int32_t lhs_zero_point = params.lhs_zero_point;
759 (params.flags & RUY_ASM_FLAG_HAS_RHS_SUMS) && lhs_zero_point;
763 _mm256_set1_epi32(lhs_zero_point),
Dkernel_avx512.cc77 const std::int32_t lhs_zero_point = params.lhs_zero_point;
79 (params.flags & RUY_ASM_FLAG_HAS_RHS_SUMS) && lhs_zero_point;
83 _mm512_mullo_epi32(_mm512_set1_epi32(lhs_zero_point),
639 const std::int32_t lhs_zero_point = params.lhs_zero_point;
641 (params.flags & RUY_ASM_FLAG_HAS_RHS_SUMS) && lhs_zero_point;
645 _mm512_mullo_epi32(_mm512_set1_epi32(lhs_zero_point),
Dkernel_common.h106 std::int32_t lhs_zero_point;
173 params->lhs_zero_point = lhs.zero_point;
Dkernel_avx.cc473 const std::int32_t lhs_zero_point = params.lhs_zero_point;
475 (params.flags & RUY_ASM_FLAG_HAS_RHS_SUMS) && lhs_zero_point;
479 _mm256_set1_epi32(lhs_zero_point),
1198 const std::int32_t lhs_zero_point = params.lhs_zero_point;
1200 (params.flags & RUY_ASM_FLAG_HAS_RHS_SUMS) && lhs_zero_point;
1204 _mm256_set1_epi32(lhs_zero_point),
Dbenchmark.cc74 test_set.lhs_zero_point = SymmetricZeroPoint<LhsScalar>() + asymmetry_lhs; in Benchmark()
Dkernel_arm32.cc594 static_assert(offsetof(Params, lhs_zero_point) == RUY_OFFSET_LHS_ZERO_POINT, in CheckOffsetsInKernelParams8bit()
Dtest.h654 LhsScalar lhs_zero_point = 0;
1719 MakeRandomScalar(RandomRange::kReasonableSrcZeroPoint, &lhs_zero_point);
1735 MakeRandom(rows, depth, lhs_order, lhs_zero_point, layout_style,
Dkernel_arm64.cc63 static_assert(offsetof(Params, lhs_zero_point) == RUY_OFFSET_LHS_ZERO_POINT, in CheckOffsetsInKernelParams8bit()
/external/ruy/example/
Dparametrized_example.cc55 int lhs_zero_point; member
100 lhs.set_zero_point(params.lhs_zero_point); in run()
166 &params.lhs_zero_point); in main()
/external/gemmlowp/doc/
Dquantization.md149 `rhs_scale`, `lhs_zero_point`, `rhs_zero_point`, so that their matrix entries
153 lhs_real_value[i] = lhs_scale * (lhs_quantized_value[i] - lhs_zero_point)
163 lhs_scale * (lhs_quantized_value[i] - lhs_zero_point) *
167 (lhs_quantized_value[i] - lhs_zero_point) *
197 (lhs_quantized_value[i] - lhs_zero_point) *
216 (lhs_quantized_value[i] - lhs_zero_point) *