Home
last modified time | relevance | path

Searched refs:kernel_zero_point (Results 1 – 24 of 24) sorted by relevance

/external/XNNPACK/test/
Ddwconv-microkernel-tester.h116 inline DWConvMicrokernelTester& kernel_zero_point(uint8_t kernel_zero_point) { in kernel_zero_point() function
117 this->kernel_zero_point_ = kernel_zero_point; in kernel_zero_point()
121 inline uint8_t kernel_zero_point() const { in kernel_zero_point() function
180 input_zero_point(), kernel_zero_point(),
194 (int32_t(kernel[c * kr() + k]) - int32_t(kernel_zero_point()));
215 input_zero_point(), kernel_zero_point(),
220 input_zero_point(), kernel_zero_point(),
Dq8-dwconv.cc189 .kernel_zero_point(0) in TEST()
203 .kernel_zero_point(255) in TEST()
376 .kernel_zero_point(0) in TEST()
390 .kernel_zero_point(255) in TEST()
563 .kernel_zero_point(0) in TEST()
577 .kernel_zero_point(255) in TEST()
693 .kernel_zero_point(0) in TEST()
706 .kernel_zero_point(255) in TEST()
Dfully-connected-operator-tester.h146 const uint8_t kernel_zero_point = 127; in TestQ8() local
170 (int32_t(kernel[ic * output_channels() + oc]) - int32_t(kernel_zero_point)); in TestQ8()
180 (int32_t(kernel[oc * input_channels() + ic]) - int32_t(kernel_zero_point)); in TestQ8()
210 kernel_zero_point, 1.0f /* kernel scale */, in TestQ8()
Ddeconvolution-operator-tester.h445 const uint8_t kernel_zero_point = 127; in TestQ8() local
486 …eight() + ky) * kernel_width() + kx) * group_input_channels() + ic]) - int32_t(kernel_zero_point)); in TestQ8()
526 kernel_zero_point, 1.0f /* kernel scale */, in TestQ8()
717 const uint8_t kernel_zero_point = 127; in TestSetupQ8() local
758 …eight() + ky) * kernel_width() + kx) * group_input_channels() + ic]) - int32_t(kernel_zero_point)); in TestSetupQ8()
798 kernel_zero_point, 1.0f /* kernel scale */, in TestSetupQ8()
875 …eight() + ky) * kernel_width() + kx) * group_input_channels() + ic]) - int32_t(kernel_zero_point)); in TestSetupQ8()
Dconvolution-operator-tester.h551 const uint8_t kernel_zero_point = 127; in TestNHWCxQ8() local
592 …ernel_width() + kx) * groups() + g) * group_output_channels() + oc]) - int32_t(kernel_zero_point)); in TestNHWCxQ8()
617 …eight() + ky) * kernel_width() + kx) * group_input_channels() + ic]) - int32_t(kernel_zero_point)); in TestNHWCxQ8()
659 kernel_zero_point, 1.0f /* kernel scale */, in TestNHWCxQ8()
1045 const uint8_t kernel_zero_point = 127; in TestSetupNHWCxQ8() local
1084 …eight() + ky) * kernel_width() + kx) * group_input_channels() + ic]) - int32_t(kernel_zero_point)); in TestSetupNHWCxQ8()
1124 kernel_zero_point, 1.0f /* kernel scale */, in TestSetupNHWCxQ8()
1198 …eight() + ky) * kernel_width() + kx) * group_input_channels() + ic]) - int32_t(kernel_zero_point)); in TestSetupNHWCxQ8()
/external/XNNPACK/src/
Dfully-connected-nc.c33 uint8_t kernel_zero_point, in xnn_create_fully_connected_nc_q8() argument
144 …memset(fully_connected_op->packed_weights, kernel_zero_point, n_stride * (k_stride * sizeof(uint8_… in xnn_create_fully_connected_nc_q8()
150 input_zero_point, kernel_zero_point, in xnn_create_fully_connected_nc_q8()
157 input_zero_point, kernel_zero_point, in xnn_create_fully_connected_nc_q8()
167 fully_connected_op->kernel_zero_point = kernel_zero_point; in xnn_create_fully_connected_nc_q8()
171 input_zero_point, kernel_zero_point, in xnn_create_fully_connected_nc_q8()
Dconvolution-nhwc.c79 uint8_t kernel_zero_point, in xnn_create_convolution2d_nhwc_q8() argument
263 input_zero_point, kernel_zero_point, in xnn_create_convolution2d_nhwc_q8()
269 input_zero_point, kernel_zero_point, in xnn_create_convolution2d_nhwc_q8()
297 memset(convolution_op->packed_weights, kernel_zero_point, packed_group_weights_size * groups); in xnn_create_convolution2d_nhwc_q8()
304 input_zero_point, kernel_zero_point, in xnn_create_convolution2d_nhwc_q8()
318 input_zero_point, kernel_zero_point, in xnn_create_convolution2d_nhwc_q8()
324 input_zero_point, kernel_zero_point, in xnn_create_convolution2d_nhwc_q8()
373 convolution_op->kernel_zero_point = kernel_zero_point; in xnn_create_convolution2d_nhwc_q8()
377 input_zero_point, kernel_zero_point, in xnn_create_convolution2d_nhwc_q8()
Ddeconvolution-nhwc.c59 uint8_t kernel_zero_point, in xnn_create_deconvolution2d_nhwc_q8() argument
231 memset(deconvolution_op->packed_weights, kernel_zero_point, packed_group_weights_size * groups); in xnn_create_deconvolution2d_nhwc_q8()
238 input_zero_point, kernel_zero_point, in xnn_create_deconvolution2d_nhwc_q8()
246 input_zero_point, kernel_zero_point, in xnn_create_deconvolution2d_nhwc_q8()
279 deconvolution_op->kernel_zero_point = kernel_zero_point; in xnn_create_deconvolution2d_nhwc_q8()
283 input_zero_point, kernel_zero_point, in xnn_create_deconvolution2d_nhwc_q8()
/external/XNNPACK/src/xnnpack/
Dparams-init.h31 uint8_t kernel_zero_point, in xnn_init_scalar_q8_gemm_params() argument
55 params.scalar.kernel_zero_point = (int32_t) (uint32_t) kernel_zero_point; in xnn_init_scalar_q8_gemm_params()
70 uint8_t kernel_zero_point, in xnn_init_q8_gemm_params() argument
95 params.sse2.kernel_zero_point[i] = (int16_t) (uint16_t) kernel_zero_point; in xnn_init_q8_gemm_params()
122 params.neon.kernel_zero_point = (int16_t) (uint16_t) kernel_zero_point; in xnn_init_q8_gemm_params()
132 params.scalar.kernel_zero_point = (int32_t) (uint32_t) kernel_zero_point; in xnn_init_q8_gemm_params()
Doperator.h222 uint8_t kernel_zero_point; member
Dparams.h144 int32_t kernel_zero_point; member
156 int16_t kernel_zero_point; member
167 XNN_ALIGN(16) int16_t kernel_zero_point[8];
/external/XNNPACK/src/q8-dwconv/
Dup1x9-scalar.c20 const int32_t vkernel_zero_point = params->scalar.kernel_zero_point; in xnn_q8_dwconv_ukernel_up1x9__scalar()
Dup8x9-sse2.c24 …const __m128i vkernel_zero_point = _mm_load_si128((const __m128i*) params->sse2.kernel_zero_point); in xnn_q8_dwconv_ukernel_up8x9__sse2()
Dup8x9-neon.c25 …const uint8x8_t vkernel_zero_point = vld1_dup_u8((const uint8_t*) &params->neon.kernel_zero_point); in xnn_q8_dwconv_ukernel_up8x9__neon()
/external/XNNPACK/src/q8-gemm/
D2x2-scalar.c38 const int32_t vb_zero_point = params->scalar.kernel_zero_point; in xnn_q8_gemm_ukernel_2x2__scalar()
D2x4c8-sse2.c62 const __m128i vb_zero_point = _mm_load_si128((const __m128i*) params->sse2.kernel_zero_point); in xnn_q8_gemm_ukernel_2x4c8__sse2()
D4x4c2-sse2.c54 const __m128i vb_zero_point = _mm_load_si128((const __m128i*) params->sse2.kernel_zero_point); in xnn_q8_gemm_ukernel_4x4c2__sse2()
D4x8-neon.c55 const uint8x8_t vb_zero_point = vld1_dup_u8((const uint8_t*) &params->neon.kernel_zero_point); in xnn_q8_gemm_ukernel_4x8__neon()
D8x8-neon.c79 const uint8x8_t vb_zero_point = vld1_dup_u8((const uint8_t*) &params->neon.kernel_zero_point); in xnn_q8_gemm_ukernel_8x8__neon()
/external/XNNPACK/src/q8-igemm/
D2x2-scalar.c39 const int32_t vb_zero_point = params->scalar.kernel_zero_point; in xnn_q8_igemm_ukernel_2x2__scalar()
D4x4c2-sse2.c51 const __m128i vb_zero_point = _mm_load_si128((const __m128i*) params->sse2.kernel_zero_point); in xnn_q8_igemm_ukernel_4x4c2__sse2()
D4x8-neon.c52 const uint8x8_t vb_zero_point = vld1_dup_u8((const uint8_t*) &params->neon.kernel_zero_point); in xnn_q8_igemm_ukernel_4x8__neon()
D8x8-neon.c68 const uint8x8_t vb_zero_point = vld1_dup_u8((const uint8_t*) &params->neon.kernel_zero_point); in xnn_q8_igemm_ukernel_8x8__neon()
/external/XNNPACK/include/
Dxnnpack.h1065 uint8_t kernel_zero_point,
1103 uint8_t kernel_zero_point,
1132 uint8_t kernel_zero_point,