Home
last modified time | relevance | path

Searched refs:next_output_width (Results 1 – 6 of 6) sorted by relevance

/external/XNNPACK/test/
Daverage-pooling-operator-tester.h358 inline size_t next_output_width() const { in next_output_width() function
638 …(next_batch_size() * next_output_height() * next_output_width() - 1) * output_pixel_stride() + cha… in TestSetupQU8()
640 …std::vector<float> next_output_ref(next_batch_size() * next_output_height() * next_output_width() … in TestSetupQU8()
719 for (size_t ox = 0; ox < next_output_width(); ox++) { in TestSetupQU8()
731 …next_output_ref[((i * next_output_height() + oy) * next_output_width() + ox) * channels() + c] = f… in TestSetupQU8()
732 … next_output_ref[((i * next_output_height() + oy) * next_output_width() + ox) * channels() + c] = in TestSetupQU8()
733 …std::min<float>(next_output_ref[((i * next_output_height() + oy) * next_output_width() + ox) * cha… in TestSetupQU8()
734 … next_output_ref[((i * next_output_height() + oy) * next_output_width() + ox) * channels() + c] = in TestSetupQU8()
735 …std::max<float>(next_output_ref[((i * next_output_height() + oy) * next_output_width() + ox) * cha… in TestSetupQU8()
759 for (size_t x = 0; x < next_output_width(); x++) { in TestSetupQU8()
[all …]
Dargmax-pooling-operator-tester.h303 inline size_t next_output_width() const { in next_output_width() function
430 …(next_batch_size() * next_output_height() * next_output_width() - 1) * output_pixel_stride() + cha… in TestSetupF32()
433 next_batch_size() * next_output_height() * next_output_width() * channels())); in TestSetupF32()
435 …std::vector<float> next_output_ref(next_batch_size() * next_output_height() * next_output_width() … in TestSetupF32()
437 …uint32_t> next_index_ref(next_batch_size() * next_output_height() * next_output_width() * channels… in TestSetupF32()
519 for (size_t ox = 0; ox < next_output_width(); ox++) { in TestSetupF32()
539 …next_output_ref[((i * next_output_height() + oy) * next_output_width() + ox) * channels() + c] = m… in TestSetupF32()
540 …next_index_ref[((i * next_output_height() + oy) * next_output_width() + ox) * channels() + c] = ma… in TestSetupF32()
564 for (size_t x = 0; x < next_output_width(); x++) { in TestSetupF32()
567 … next_output_ref[((i * next_output_height() + y) * next_output_width() + x) * channels() + c], in TestSetupF32()
[all …]
Dmax-pooling-operator-tester.h400 inline size_t next_output_width() const { in next_output_width() function
641 …(next_batch_size() * next_output_height() * next_output_width() - 1) * output_pixel_stride() + cha… in TestSetupU8()
643 …std::vector<float> next_output_ref(next_batch_size() * next_output_height() * next_output_width() … in TestSetupU8()
722 for (size_t ox = 0; ox < next_output_width(); ox++) { in TestSetupU8()
737 …next_output_ref[((i * next_output_height() + oy) * next_output_width() + ox) * channels() + c] = m… in TestSetupU8()
757 for (size_t x = 0; x < next_output_width(); x++) { in TestSetupU8()
759 …ASSERT_LE(uint32_t(output[((i * next_output_height() + y) * next_output_width() + x) * output_pixe… in TestSetupU8()
760 …ASSERT_GE(uint32_t(output[((i * next_output_height() + y) * next_output_width() + x) * output_pixe… in TestSetupU8()
761 …SSERT_EQ(uint32_t(next_output_ref[((i * next_output_height() + y) * next_output_width() + x) * cha… in TestSetupU8()
762 …uint32_t(output[((i * next_output_height() + y) * next_output_width() + x) * output_pixel_stride()… in TestSetupU8()
[all …]
Dconvolution-operator-tester.h423 inline size_t next_output_width() const { in next_output_width() function
1374 …next_batch_size() * ((next_output_height() * next_output_width() - 1) * output_channel_stride() + … in TestSetupNHWCxQS8()
1377 …t32_t> next_accumulators(next_batch_size() * next_output_height() * next_output_width() * groups()… in TestSetupNHWCxQS8()
1378 …<double> next_output_ref(next_batch_size() * next_output_height() * next_output_width() * groups()… in TestSetupNHWCxQS8()
1509 for (size_t ox = 0; ox < next_output_width(); ox++) { in TestSetupNHWCxQS8()
1512 …next_accumulators[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * … in TestSetupNHWCxQS8()
1524 for (size_t ox = 0; ox < next_output_width(); ox++) { in TestSetupNHWCxQS8()
1534 …next_accumulators[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * … in TestSetupNHWCxQS8()
1566 for (size_t x = 0; x < next_output_width(); x++) { in TestSetupNHWCxQS8()
1569 …ASSERT_LE(int32_t(output[((i * next_output_height() + y) * next_output_width() + x) * output_chann… in TestSetupNHWCxQS8()
[all …]
Ddeconvolution-operator-tester.h432 inline size_t next_output_width() const { in next_output_width() function
772 …(next_batch_size() * next_output_height() * next_output_width() - 1) * output_pixel_stride() + gro… in TestSetupQU8()
775 …t32_t> next_accumulators(next_batch_size() * next_output_height() * next_output_width() * groups()… in TestSetupQU8()
776 …<double> next_output_ref(next_batch_size() * next_output_height() * next_output_width() * groups()… in TestSetupQU8()
908 for (size_t ox = 0; ox < next_output_width(); ox++) { in TestSetupQU8()
911 …next_accumulators[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * … in TestSetupQU8()
923 for (size_t ox = 0; ox < next_output_width(); ox++) { in TestSetupQU8()
935 …next_accumulators[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * … in TestSetupQU8()
968 for (size_t x = 0; x < next_output_width(); x++) { in TestSetupQU8()
971 …ASSERT_LE(int32_t(output[((i * next_output_height() + y) * next_output_width() + x) * output_pixel… in TestSetupQU8()
[all …]
Dunpooling-operator-tester.h252 inline size_t next_output_width() const { in next_output_width() function
367 …(next_batch_size() * next_output_height() * next_output_width() - 1) * output_pixel_stride() * cha… in TestSetupX32()
369 …int32_t> next_output_ref(next_batch_size() * next_output_height() * next_output_width() * channels… in TestSetupX32()
447 …:max<size_t>(ix * pooling_width() + px, padding_left()) - padding_left(), next_output_width() - 1); in TestSetupX32()
448 … next_output_ref[((i * next_output_height() + oy) * next_output_width() + ox) * channels() + c] = in TestSetupX32()
470 for (size_t x = 0; x < next_output_width(); x++) { in TestSetupX32()
471 …EXPECT_EQ(next_output_ref[((i * next_output_height() + y) * next_output_width() + x) * channels() … in TestSetupX32()
472 … output[((i * next_output_height() + y) * next_output_width() + x) * output_pixel_stride() + c]) << in TestSetupX32()