/external/XNNPACK/test/ |
D | pack-microkernel-tester.h | 55 inline PackMicrokernelTester& x_stride(size_t x_stride) { in x_stride() function 56 assert(x_stride != 0); in x_stride() 57 this->x_stride_ = x_stride; in x_stride() 61 inline size_t x_stride() const { in x_stride() function 85 std::vector<uint32_t> x(k() + (m() - 1) * x_stride() + XNN_EXTRA_BYTES / sizeof(uint32_t)); in Test() 96 y_ref[j * mr() + i] = x[std::min(i, m() - 1) * x_stride() + j]; in Test() 103 x.data(), x_stride() * sizeof(uint32_t), in Test()
|
D | prelu-operator-tester.h | 43 inline PReLUOperatorTester& x_stride(size_t x_stride) { in x_stride() argument 44 assert(x_stride != 0); in x_stride() 45 this->x_stride_ = x_stride; in x_stride() 49 inline size_t x_stride() const { in x_stride() function 106 …std::vector<float> x((batch_size() - 1) * x_stride() + channels() + XNN_EXTRA_BYTES / sizeof(float… in TestF32() 118 …ef[i * channels() + c] = std::signbit(x[i * x_stride() + c]) ? x[i * x_stride() + c] * w[c] : x[i … in TestF32() 142 channels(), x_stride(), y_stride(), in TestF32()
|
D | pad-microkernel-tester.h | 62 inline PadMicrokernelTester& x_stride(size_t x_stride) { in x_stride() argument 63 assert(x_stride != 0); in x_stride() 64 this->x_stride_ = x_stride; in x_stride() 68 inline size_t x_stride() const { in x_stride() function 107 std::vector<uint32_t> x(n() + (m() - 1) * x_stride() + XNN_EXTRA_BYTES / sizeof(uint32_t)); in Test() 118 y_ref[k * (l() + n() + r()) + l() + i] = x[k * x_stride() + i]; in Test() 129 x.data(), x_stride() * sizeof(float), in Test()
|
D | gavgpool-microkernel-tester.h | 66 inline GAvgPoolMicrokernelTester& x_stride(size_t x_stride) { in x_stride() function 67 assert(x_stride != 0); in x_stride() 68 this->x_stride_ = x_stride; in x_stride() 72 inline size_t x_stride() const { in x_stride() function 153 std::vector<uint8_t> x((m() - 1) * x_stride() + n() + XNN_EXTRA_BYTES / sizeof(uint8_t)); 189 acc += x[i * x_stride() + j]; 200 x.data(), x_stride() * sizeof(uint8_t), 224 std::vector<uint8_t> x((m() - 1) * x_stride() + n() + XNN_EXTRA_BYTES / sizeof(uint8_t)); 261 acc += x[i * x_stride() + j]; 273 x.data(), x_stride() * sizeof(uint8_t), [all …]
|
D | f32-gavgpool.cc | 39 .x_stride(11) in TEST() 184 .x_stride(11) in TEST() 222 .x_stride(11) in TEST() 288 .x_stride(131) in TEST() 357 .x_stride(23) in TEST() 426 .x_stride(23) in TEST() 458 .x_stride(11) in TEST() 603 .x_stride(11) in TEST() 641 .x_stride(11) in TEST() 707 .x_stride(131) in TEST() [all …]
|
D | avgpool-microkernel-tester.h | 118 inline AvgPoolMicrokernelTester& x_stride(size_t x_stride) { in x_stride() function 119 assert(x_stride != 0); in x_stride() 120 this->x_stride_ = x_stride; in x_stride() 124 inline size_t x_stride() const { in x_stride() function 221 …std::vector<uint8_t> x((indirect_x.size() - 1) * x_stride() + kc() + XNN_EXTRA_BYTES / sizeof(uint… 233 indirect_x[i] = x.data() + i * x_stride(); 307 …std::vector<uint8_t> x((indirect_x.size() - 1) * x_stride() + kc() + XNN_EXTRA_BYTES / sizeof(uint… 320 indirect_x[i] = x.data() + i * x_stride(); 394 …std::vector<float> x((indirect_x.size() - 1) * x_stride() + kc() + XNN_EXTRA_BYTES / sizeof(float)… 404 indirect_x[i] = x.data() + i * x_stride(); [all …]
|
D | x32-packx.cc | 120 .x_stride(23) in TEST() 227 .x_stride(23) in TEST() 334 .x_stride(23) in TEST() 387 .x_stride(7) in TEST() 438 .x_stride(7) in TEST() 489 .x_stride(7) in TEST()
|
D | prelu-nc.cc | 60 .x_stride(123) in TEST() 82 .x_stride(123) in TEST() 126 .x_stride(123) in TEST() 148 .x_stride(123) in TEST()
|
D | x32-pad.cc | 176 TEST(X32_PAD_X2__NEON, x_stride) { in TEST() argument 185 .x_stride(2 * k + 1) in TEST() 369 TEST(X32_PAD_X2__SSE2, x_stride) { in TEST() argument 378 .x_stride(2 * k + 1) in TEST() 562 TEST(X32_PAD_X2__PSIMD, x_stride) { in TEST() argument 571 .x_stride(2 * k + 1) in TEST() 681 TEST(X32_PAD_X2__SCALAR, x_stride) { in TEST() argument 689 .x_stride(2 * k + 1) in TEST()
|
D | f32-pavgpool.cc | 106 .x_stride(131) in TEST() 168 .x_stride(23) in TEST() 230 .x_stride(23) in TEST() 298 .x_stride(29) in TEST() 478 .x_stride(131) in TEST() 548 .x_stride(131) in TEST() 616 .x_stride(23) in TEST() 686 .x_stride(23) in TEST() 754 .x_stride(23) in TEST() 824 .x_stride(23) in TEST() [all …]
|
D | f32-avgpool.cc | 106 .x_stride(131) in TEST() 168 .x_stride(23) in TEST() 230 .x_stride(23) in TEST() 298 .x_stride(29) in TEST() 478 .x_stride(131) in TEST() 548 .x_stride(131) in TEST() 616 .x_stride(23) in TEST() 686 .x_stride(23) in TEST() 754 .x_stride(23) in TEST() 824 .x_stride(23) in TEST() [all …]
|
/external/webp/src/dsp/ |
D | rescaler.c | 31 const int x_stride = wrk->num_channels; in WebPRescalerImportRowExpand_C() local 36 for (channel = 0; channel < x_stride; ++channel) { in WebPRescalerImportRowExpand_C() 42 int right = (wrk->src_width > 1) ? src[x_in + x_stride] : left; in WebPRescalerImportRowExpand_C() 43 x_in += x_stride; in WebPRescalerImportRowExpand_C() 46 x_out += x_stride; in WebPRescalerImportRowExpand_C() 51 x_in += x_stride; in WebPRescalerImportRowExpand_C() 52 assert(x_in < wrk->src_width * x_stride); in WebPRescalerImportRowExpand_C() 63 const int x_stride = wrk->num_channels; in WebPRescalerImportRowShrink_C() local 68 for (channel = 0; channel < x_stride; ++channel) { in WebPRescalerImportRowShrink_C() 78 assert(x_in < wrk->src_width * x_stride); in WebPRescalerImportRowShrink_C() [all …]
|
D | rescaler_mips32.c | 26 const int x_stride = wrk->num_channels; in ImportRowShrink_MIPS32() local 31 const int x_stride1 = x_stride << 2; in ImportRowShrink_MIPS32() 36 for (channel = 0; channel < x_stride; ++channel) { in ImportRowShrink_MIPS32() 75 : [x_stride]"r"(x_stride), [fx_scale]"r"(fx_scale), in ImportRowShrink_MIPS32() 86 const int x_stride = wrk->num_channels; in ImportRowExpand_MIPS32() local 91 const int x_stride1 = x_stride << 2; in ImportRowExpand_MIPS32() 96 for (channel = 0; channel < x_stride; ++channel) { in ImportRowExpand_MIPS32() 137 : [x_stride]"r"(x_stride), [x_add]"r"(x_add), [x_sub]"r"(x_sub), in ImportRowExpand_MIPS32()
|
/external/XNNPACK/src/x32-packx/ |
D | x4-scalar.c | 15 size_t x_stride, in xnn_x32_packx_ukernel_4x__scalar() argument 22 const float* x1 = (const float*) ((uintptr_t) x0 + x_stride); in xnn_x32_packx_ukernel_4x__scalar() 26 const float* x2 = (const float*) ((uintptr_t) x1 + x_stride); in xnn_x32_packx_ukernel_4x__scalar() 30 const float* x3 = (const float*) ((uintptr_t) x2 + x_stride); in xnn_x32_packx_ukernel_4x__scalar()
|
D | x4-neon-st4.c | 17 size_t x_stride, in xnn_x32_packx_ukernel_4x__neon_st4() argument 24 const uint32_t* x1 = (const uint32_t*) ((uintptr_t) x0 + x_stride); in xnn_x32_packx_ukernel_4x__neon_st4() 28 const uint32_t* x2 = (const uint32_t*) ((uintptr_t) x1 + x_stride); in xnn_x32_packx_ukernel_4x__neon_st4() 32 const uint32_t* x3 = (const uint32_t*) ((uintptr_t) x2 + x_stride); in xnn_x32_packx_ukernel_4x__neon_st4()
|
D | x3-scalar.c | 15 size_t x_stride, in xnn_x32_packx_ukernel_3x__scalar() argument 22 const float* x1 = (const float*) ((uintptr_t) x0 + x_stride); in xnn_x32_packx_ukernel_3x__scalar() 26 const float* x2 = (const float*) ((uintptr_t) x1 + x_stride); in xnn_x32_packx_ukernel_3x__scalar()
|
D | x4-sse.c | 17 size_t x_stride, in xnn_x32_packx_ukernel_4x__sse() argument 24 const float* x1 = (const float*) ((uintptr_t) x0 + x_stride); in xnn_x32_packx_ukernel_4x__sse() 28 const float* x2 = (const float*) ((uintptr_t) x1 + x_stride); in xnn_x32_packx_ukernel_4x__sse() 32 const float* x3 = (const float*) ((uintptr_t) x2 + x_stride); in xnn_x32_packx_ukernel_4x__sse()
|
D | x4-psimd.c | 17 size_t x_stride, in xnn_x32_packx_ukernel_4x__psimd() argument 24 const uint32_t* x1 = (const uint32_t*) ((uintptr_t) x0 + x_stride); in xnn_x32_packx_ukernel_4x__psimd() 28 const uint32_t* x2 = (const uint32_t*) ((uintptr_t) x1 + x_stride); in xnn_x32_packx_ukernel_4x__psimd() 32 const uint32_t* x3 = (const uint32_t*) ((uintptr_t) x2 + x_stride); in xnn_x32_packx_ukernel_4x__psimd()
|
D | x2-scalar.c | 15 size_t x_stride, in xnn_x32_packx_ukernel_2x__scalar() argument 22 const float* x1 = (const float*) ((uintptr_t) x0 + x_stride); in xnn_x32_packx_ukernel_2x__scalar()
|
/external/XNNPACK/src/xnnpack/ |
D | gavgpool.h | 27 size_t x_stride, \ 45 size_t x_stride, \ 61 size_t x_stride, \ 77 size_t x_stride, \
|
D | compute.h | 597 size_t x_stride; member 621 size_t x_stride; member 636 size_t x_stride; member 653 size_t x_stride; member 673 size_t x_stride; member 694 size_t x_stride; member 712 size_t x_stride; member 735 size_t x_stride; member 751 size_t x_stride; member 768 size_t x_stride; member
|
D | params.h | 589 size_t x_stride, 596 size_t x_stride, 606 size_t x_stride, 752 size_t x_stride, 761 size_t x_stride, 784 size_t x_stride, 793 size_t x_stride, 803 size_t x_stride, 813 size_t x_stride, 1119 size_t x_stride, [all …]
|
/external/XNNPACK/src/ |
D | operator-run.c | 515 const size_t x_stride = context->x_stride; in xnn_compute_prelu() local 517 const void* x = (const void*) ((uintptr_t) context->x + x_stride * batch_start); in xnn_compute_prelu() 520 context->ukernel(batch_range, context->n, x, x_stride, context->w, y, y_stride, &context->params); in xnn_compute_prelu() 528 const size_t x_stride = context->x_stride; in xnn_compute_channel_pad() local 530 const void* x = (const void*) ((uintptr_t) context->x + x_stride * batch_start); in xnn_compute_channel_pad() 533 …context->ukernel(batch_range, context->n, context->l, context->r, context->c, x, x_stride, y, y_st… in xnn_compute_channel_pad() 586 const void* x = (const void*) ((uintptr_t) context->x + index * context->x_stride); in xnn_compute_channel_shuffle_fixed() 596 const void* x = (const void*) ((uintptr_t) context->x + index * context->x_stride); in xnn_compute_channel_shuffle_variable() 606 const void* x = (const void*) ((uintptr_t) context->x + context->x_stride * batch_index); in xnn_compute_lut_strided() 630 const void* x = (const void*) ((uintptr_t) context->x + context->x_stride * batch_index); in xnn_compute_univector_strided() [all …]
|
D | clamp-nc.c | 212 .x_stride = input_stride * sizeof(uint8_t), in xnn_setup_clamp_nc_u8() 226 .x_stride = input_stride * sizeof(uint8_t), in xnn_setup_clamp_nc_u8() 272 .x_stride = input_stride * sizeof(float), in xnn_setup_clamp_nc_f32() 286 .x_stride = input_stride * sizeof(float), in xnn_setup_clamp_nc_f32()
|
/external/XNNPACK/src/x32-pad/ |
D | x2-scalar.c | 18 size_t x_stride, in xnn_x32_pad_x2__scalar() argument 30 const uint32_t* x1 = (const uint32_t*) ((uintptr_t) x0 + x_stride); in xnn_x32_pad_x2__scalar()
|