/external/XNNPACK/test/ |
D | unpooling-operator-tester.h | 211 …e UnpoolingOperatorTester& next_input_size(uint32_t next_input_height, uint32_t next_input_width) { in next_input_size() argument 213 assert(next_input_width >= 1); in next_input_size() 215 this->next_input_width_ = next_input_width; in next_input_size() 233 inline UnpoolingOperatorTester& next_input_width(uint32_t next_input_width) { in next_input_width() argument 234 assert(next_input_width >= 1); in next_input_width() 235 this->next_input_width_ = next_input_width; in next_input_width() 239 inline uint32_t next_input_width() const { in next_input_width() function 254 return std::max<size_t>(next_input_width() * pooling_width(), padding_width) - padding_width; in next_output_width() 361 …(next_batch_size() * next_input_height() * next_input_width() - 1) * input_pixel_stride() + channe… in TestSetupX32() 364 next_batch_size() * next_input_height() * next_input_width() * channels())); in TestSetupX32() [all …]
|
D | argmax-pooling-operator-tester.h | 262 …gmaxPoolingOperatorTester& next_input_size(uint32_t next_input_height, uint32_t next_input_width) { in next_input_size() argument 264 assert(next_input_width >= 1); in next_input_size() 266 this->next_input_width_ = next_input_width; in next_input_size() 284 inline ArgmaxPoolingOperatorTester& next_input_width(uint32_t next_input_width) { in next_input_width() argument 285 assert(next_input_width >= 1); in next_input_width() 286 this->next_input_width_ = next_input_width; in next_input_width() 290 inline uint32_t next_input_width() const { in next_input_width() function 304 const size_t padded_next_input_width = padding_left() + next_input_width() + padding_right(); in next_output_width() 427 …(next_batch_size() * next_input_height() * next_input_width() - 1) * input_pixel_stride() + channe… in TestSetupF32() 524 …input[((i * next_input_height() + iy_top_left) * next_input_width() + ix_top_left) * input_pixel_s… in TestSetupF32() [all …]
|
D | average-pooling-operator-tester.h | 313 …ragePoolingOperatorTester& next_input_size(uint32_t next_input_height, uint32_t next_input_width) { in next_input_size() argument 315 assert(next_input_width >= 1); in next_input_size() 317 this->next_input_width_ = next_input_width; in next_input_size() 335 inline AveragePoolingOperatorTester& next_input_width(uint32_t next_input_width) { in next_input_width() function 336 assert(next_input_width >= 1); in next_input_width() 337 this->next_input_width_ = next_input_width; in next_input_width() 341 inline uint32_t next_input_width() const { in next_input_width() function 359 const size_t padded_next_input_width = padding_left() + next_input_width() + padding_right(); in next_output_width() 635 …(next_batch_size() * next_input_height() * next_input_width() - 1) * input_pixel_stride() + channe… in TestSetupQU8() 726 if (ix < next_input_width() && iy < next_input_height()) { in TestSetupQU8() [all …]
|
D | max-pooling-operator-tester.h | 355 … MaxPoolingOperatorTester& next_input_size(uint32_t next_input_height, uint32_t next_input_width) { in next_input_size() argument 357 assert(next_input_width >= 1); in next_input_size() 359 this->next_input_width_ = next_input_width; in next_input_size() 377 inline MaxPoolingOperatorTester& next_input_width(uint32_t next_input_width) { in next_input_width() function 378 assert(next_input_width >= 1); in next_input_width() 379 this->next_input_width_ = next_input_width; in next_input_width() 383 inline uint32_t next_input_width() const { in next_input_width() function 401 const size_t padded_next_input_width = padding_left() + next_input_width() + padding_right(); in next_output_width() 638 …(next_batch_size() * next_input_height() * next_input_width() - 1) * input_pixel_stride() + channe… in TestSetupU8() 729 if (ix < next_input_width() && iy < next_input_height()) { in TestSetupU8() [all …]
|
D | resize-bilinear-operator-tester.h | 146 …izeBilinearOperatorTester& next_input_size(uint32_t next_input_height, uint32_t next_input_width) { in next_input_size() argument 148 assert(next_input_width >= 1); in next_input_size() 150 this->next_input_width_ = next_input_width; in next_input_size() 168 inline ResizeBilinearOperatorTester& next_input_width(uint32_t next_input_width) { in next_input_width() function 169 assert(next_input_width >= 1); in next_input_width() 170 this->next_input_width_ = next_input_width; in next_input_width() 174 inline uint32_t next_input_width() const { in next_input_width() function
|
D | convolution-nhwc.cc | 1022 .next_input_width(9) in TEST() 1032 .next_input_width(7) in TEST() 1046 .next_input_width(9) in TEST() 1057 .next_input_width(7) in TEST() 1072 .next_input_width(9) in TEST() 1083 .next_input_width(7) in TEST() 1099 .next_input_width(9) in TEST() 1114 .next_input_width(9) in TEST() 1130 .next_input_width(9) in TEST() 2147 .next_input_width(9) in TEST() [all …]
|
D | deconvolution-operator-tester.h | 392 …convolutionOperatorTester& next_input_size(uint32_t next_input_height, uint32_t next_input_width) { in next_input_size() argument 394 assert(next_input_width >= 1); in next_input_size() 396 this->next_input_width_ = next_input_width; in next_input_size() 414 inline DeconvolutionOperatorTester& next_input_width(uint32_t next_input_width) { in next_input_width() argument 415 assert(next_input_width >= 1); in next_input_width() 416 this->next_input_width_ = next_input_width; in next_input_width() 420 inline uint32_t next_input_width() const { in next_input_width() function 433 …return stride_width() * (next_input_width() - 1) + adjustment_width() + dilated_kernel_width() - p… in next_output_width() 767 …(next_batch_size() * next_input_height() * next_input_width() - 1) * input_pixel_stride() + groups… in TestSetupQU8() 931 if (ix * stride_width() == x && ix < next_input_width()) { in TestSetupQU8() [all …]
|
D | unpooling-nhwc.cc | 269 .next_input_width(9) in TEST() 278 .next_input_width(7) in TEST() 292 .next_input_width(5) in TEST()
|
D | convolution-operator-tester.h | 378 …ConvolutionOperatorTester& next_input_size(uint32_t next_input_height, uint32_t next_input_width) { in next_input_size() argument 380 assert(next_input_width >= 1); in next_input_size() 382 this->next_input_width_ = next_input_width; in next_input_size() 400 inline ConvolutionOperatorTester& next_input_width(uint32_t next_input_width) { in next_input_width() function 401 assert(next_input_width >= 1); in next_input_width() 402 this->next_input_width_ = next_input_width; in next_input_width() 406 inline uint32_t next_input_width() const { in next_input_width() function 424 const size_t padded_input_width = padding_left() + next_input_width() + padding_right(); in next_output_width() 1369 …next_batch_size() * ((next_input_height() * next_input_width() - 1) * input_channel_stride() + gro… in TestSetupNHWCxQS8() 1530 if (ix < next_input_width()) { in TestSetupNHWCxQS8() [all …]
|
D | argmax-pooling-nhwc.cc | 578 .next_input_width(9) in TEST() 587 .next_input_width(7) in TEST() 601 .next_input_width(9) in TEST()
|
D | max-pooling-nhwc.cc | 802 .next_input_width(9) in TEST() 811 .next_input_width(7) in TEST() 825 .next_input_width(9) in TEST() 1618 .next_input_width(9) in TEST() 1627 .next_input_width(7) in TEST() 1641 .next_input_width(9) in TEST()
|
D | average-pooling-nhwc.cc | 2864 .next_input_width(9) in TEST() 2873 .next_input_width(7) in TEST() 2887 .next_input_width(9) in TEST() 2901 .next_input_width(3) in TEST() 2915 .next_input_width(5) in TEST() 4938 .next_input_width(9) in TEST() 4947 .next_input_width(7) in TEST() 4961 .next_input_width(9) in TEST() 4975 .next_input_width(3) in TEST() 4989 .next_input_width(5) in TEST()
|
D | deconvolution-nhwc.cc | 1950 .next_input_width(kUnstridedInputWidth + 3) 3304 .next_input_width(kStridedInputWidth + 3) 4161 .next_input_width(kStridedInputWidth + 3) 6101 .next_input_width(kUnstridedInputWidth + 3) 7453 .next_input_width(kStridedInputWidth + 3) 8309 .next_input_width(kStridedInputWidth + 3)
|