Home
last modified time | relevance | path

Searched refs:b_scale (Results 1 – 9 of 9) sorted by relevance

/external/XNNPACK/test/
Dq8-vadd.cc100 TEST(Q8_VADD__SSE2, b_scale) { in TEST() argument
103 for (float b_scale = 1.0e-2; b_scale < 1.0e+2; b_scale *= 1.7f) { in TEST() local
107 .b_scale(b_scale) in TEST()
270 TEST(Q8_VADD__NEON, b_scale) { in TEST() argument
273 for (float b_scale = 1.0e-2; b_scale < 1.0e+2; b_scale *= 1.7f) { in TEST() local
277 .b_scale(b_scale) in TEST()
415 TEST(Q8_VADD__SCALAR, b_scale) { in TEST() argument
417 for (float b_scale = 1.0e-2; b_scale < 1.0e+2; b_scale *= 1.7f) { in TEST() local
421 .b_scale(b_scale) in TEST()
Dadd-nc.cc61 for (float b_scale = 1.0e-2f; b_scale < 1.0e+2f; b_scale *= 10.0f) { in TEST() local
65 .b_scale(b_scale) in TEST()
204 for (float b_scale = 1.0e-2f; b_scale < 1.0e+2f; b_scale *= 10.0f) { in TEST() local
208 .b_scale(b_scale) in TEST()
326 for (float b_scale = 1.0e-2f; b_scale < 1.0e+2f; b_scale *= 10.0f) { in TEST() local
333 .b_scale(b_scale) in TEST()
Dvadd-microkernel-tester.h82 inline VAddMicrokernelTester& b_scale(float b_scale) { in b_scale() function
83 assert(b_scale > 0.0f); in b_scale()
84 assert(std::isnormal(b_scale)); in b_scale()
85 this->b_scale_ = b_scale; in b_scale()
89 inline float b_scale() const { in b_scale() function
176 a_scale() / y_scale(), b_scale() / y_scale(),
182 a_scale() / y_scale(), b_scale() / y_scale(),
189 a_scale() / y_scale(), b_scale() / y_scale(),
196 float(int32_t(b_data[i]) - int32_t(b_zero_point())) * (b_scale() / y_scale());
Dadd-operator-tester.h111 inline AddOperatorTester& b_scale(float b_scale) { in b_scale() argument
112 assert(b_scale > 0.0f); in b_scale()
113 assert(std::isnormal(b_scale)); in b_scale()
114 this->b_scale_ = b_scale; in b_scale()
118 inline float b_scale() const { in b_scale() function
202 … float(int32_t(b[i * b_stride() + c]) - int32_t(b_zero_point())) * (b_scale() / y_scale()); in TestQ8()
216 b_zero_point(), b_scale(), in TestQ8()
/external/XNNPACK/src/
Dadd-nc.c31 float b_scale, in xnn_create_add_nc_q8() argument
85 if (b_scale <= 0.0f || !isnormal(b_scale)) { in xnn_create_add_nc_q8()
87 …o create Add operator with %.7g B scale: scale must be finite, normalized, and positive", b_scale); in xnn_create_add_nc_q8()
115 const float b_output_scale = b_scale / sum_scale; in xnn_create_add_nc_q8()
138 a_scale / sum_scale, b_scale / sum_scale, in xnn_create_add_nc_q8()
/external/libaom/libaom/third_party/libyuv/source/
Drow_common.cc808 const uint32 b_scale = REPEAT8(value & 0xff); in ARGBShadeRow_C() local
819 dst_argb[0] = SHADE(b, b_scale); in ARGBShadeRow_C()
841 const uint32 b_scale = src_argb1[0]; in ARGBMultiplyRow_C() local
845 dst_argb[0] = SHADE(b, b_scale); in ARGBMultiplyRow_C()
/external/XNNPACK/include/
Dxnnpack.h1001 float b_scale,
/external/libvpx/libvpx/third_party/libyuv/source/
Drow_common.cc855 const uint32_t b_scale = REPEAT8(value & 0xff); in ARGBShadeRow_C() local
866 dst_argb[0] = SHADE(b, b_scale); in ARGBShadeRow_C()
890 const uint32_t b_scale = src_argb1[0]; in ARGBMultiplyRow_C() local
894 dst_argb[0] = SHADE(b, b_scale); in ARGBMultiplyRow_C()
/external/libyuv/files/source/
Drow_common.cc855 const uint32_t b_scale = REPEAT8(value & 0xff); in ARGBShadeRow_C() local
866 dst_argb[0] = SHADE(b, b_scale); in ARGBShadeRow_C()
890 const uint32_t b_scale = src_argb1[0]; in ARGBMultiplyRow_C() local
894 dst_argb[0] = SHADE(b, b_scale); in ARGBMultiplyRow_C()