/external/XNNPACK/test/ |
D | dwconv-microkernel-tester.h | 116 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(),
|
D | q8-dwconv.cc | 189 .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()
|
D | fully-connected-operator-tester.h | 146 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()
|
D | deconvolution-operator-tester.h | 445 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()
|
D | convolution-operator-tester.h | 551 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/ |
D | fully-connected-nc.c | 33 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()
|
D | convolution-nhwc.c | 79 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()
|
D | deconvolution-nhwc.c | 59 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/ |
D | params-init.h | 31 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()
|
D | operator.h | 222 uint8_t kernel_zero_point; member
|
D | params.h | 144 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/ |
D | up1x9-scalar.c | 20 const int32_t vkernel_zero_point = params->scalar.kernel_zero_point; in xnn_q8_dwconv_ukernel_up1x9__scalar()
|
D | up8x9-sse2.c | 24 …const __m128i vkernel_zero_point = _mm_load_si128((const __m128i*) params->sse2.kernel_zero_point); in xnn_q8_dwconv_ukernel_up8x9__sse2()
|
D | up8x9-neon.c | 25 …const uint8x8_t vkernel_zero_point = vld1_dup_u8((const uint8_t*) ¶ms->neon.kernel_zero_point); in xnn_q8_dwconv_ukernel_up8x9__neon()
|
/external/XNNPACK/src/q8-gemm/ |
D | 2x2-scalar.c | 38 const int32_t vb_zero_point = params->scalar.kernel_zero_point; in xnn_q8_gemm_ukernel_2x2__scalar()
|
D | 2x4c8-sse2.c | 62 const __m128i vb_zero_point = _mm_load_si128((const __m128i*) params->sse2.kernel_zero_point); in xnn_q8_gemm_ukernel_2x4c8__sse2()
|
D | 4x4c2-sse2.c | 54 const __m128i vb_zero_point = _mm_load_si128((const __m128i*) params->sse2.kernel_zero_point); in xnn_q8_gemm_ukernel_4x4c2__sse2()
|
D | 4x8-neon.c | 55 const uint8x8_t vb_zero_point = vld1_dup_u8((const uint8_t*) ¶ms->neon.kernel_zero_point); in xnn_q8_gemm_ukernel_4x8__neon()
|
D | 8x8-neon.c | 79 const uint8x8_t vb_zero_point = vld1_dup_u8((const uint8_t*) ¶ms->neon.kernel_zero_point); in xnn_q8_gemm_ukernel_8x8__neon()
|
/external/XNNPACK/src/q8-igemm/ |
D | 2x2-scalar.c | 39 const int32_t vb_zero_point = params->scalar.kernel_zero_point; in xnn_q8_igemm_ukernel_2x2__scalar()
|
D | 4x4c2-sse2.c | 51 const __m128i vb_zero_point = _mm_load_si128((const __m128i*) params->sse2.kernel_zero_point); in xnn_q8_igemm_ukernel_4x4c2__sse2()
|
D | 4x8-neon.c | 52 const uint8x8_t vb_zero_point = vld1_dup_u8((const uint8_t*) ¶ms->neon.kernel_zero_point); in xnn_q8_igemm_ukernel_4x8__neon()
|
D | 8x8-neon.c | 68 const uint8x8_t vb_zero_point = vld1_dup_u8((const uint8_t*) ¶ms->neon.kernel_zero_point); in xnn_q8_igemm_ukernel_8x8__neon()
|
/external/XNNPACK/include/ |
D | xnnpack.h | 1065 uint8_t kernel_zero_point, 1103 uint8_t kernel_zero_point, 1132 uint8_t kernel_zero_point,
|