Lines Matching refs:output_width
100 (output_width() - 1) * stride_width() + dilated_pooling_width() - input_width(); in padding_left()
132 (output_width() - 1) * stride_width() + dilated_pooling_width() - input_width(); in padding_right()
313 inline size_t output_width() const { in output_width() function
458 …std::vector<int8_t> output((batch_size() * output_height() * output_width() - 1) * output_pixel_st… in TestS8()
459 std::vector<int8_t> output_ref(batch_size() * output_height() * output_width() * channels()); in TestS8()
467 for (size_t ox = 0; ox < output_width(); ox++) { in TestS8()
482 … output_ref[((i * output_height() + oy) * output_width() + ox) * channels() + c] = max_value; in TestS8()
521 for (size_t x = 0; x < output_width(); x++) { in TestS8()
523 …ASSERT_LE(int32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() … in TestS8()
524 …ASSERT_GE(int32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() … in TestS8()
525 … ASSERT_EQ(int32_t(output_ref[((i * output_height() + y) * output_width() + x) * channels() + c]), in TestS8()
526 … int32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() + c])) << in TestS8()
542 …std::vector<uint8_t> output((batch_size() * output_height() * output_width() - 1) * output_pixel_s… in TestU8()
543 std::vector<uint8_t> output_ref(batch_size() * output_height() * output_width() * channels()); in TestU8()
551 for (size_t ox = 0; ox < output_width(); ox++) { in TestU8()
566 … output_ref[((i * output_height() + oy) * output_width() + ox) * channels() + c] = max_value; in TestU8()
605 for (size_t x = 0; x < output_width(); x++) { in TestU8()
607 …ASSERT_LE(uint32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride()… in TestU8()
608 …ASSERT_GE(uint32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride()… in TestU8()
609 … ASSERT_EQ(uint32_t(output_ref[((i * output_height() + y) * output_width() + x) * channels() + c]), in TestU8()
610 … uint32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() + c])) << in TestU8()
627 …std::vector<uint16_t> output((batch_size() * output_height() * output_width() - 1) * output_pixel_… in TestF16()
628 std::vector<float> output_ref(batch_size() * output_height() * output_width() * channels()); in TestF16()
636 for (size_t ox = 0; ox < output_width(); ox++) { in TestF16()
649 … output_ref[((i * output_height() + oy) * output_width() + ox) * channels() + c] = max_value; in TestF16()
715 for (size_t x = 0; x < output_width(); x++) { in TestF16()
717 …ASSERT_LE(fp16_ieee_to_fp32_value(output[((i * output_height() + y) * output_width() + x) * output… in TestF16()
718 …ASSERT_GE(fp16_ieee_to_fp32_value(output[((i * output_height() + y) * output_width() + x) * output… in TestF16()
720 …fp16_ieee_to_fp32_value(output[((i * output_height() + y) * output_width() + x) * output_pixel_str… in TestF16()
721 output_ref[((i * output_height() + y) * output_width() + x) * channels() + c]) << in TestF16()
737 …std::vector<float> output((batch_size() * output_height() * output_width() - 1) * output_pixel_str… in TestF32()
738 std::vector<float> output_ref(batch_size() * output_height() * output_width() * channels()); in TestF32()
746 for (size_t ox = 0; ox < output_width(); ox++) { in TestF32()
759 … output_ref[((i * output_height() + oy) * output_width() + ox) * channels() + c] = max_value; in TestF32()
814 for (size_t x = 0; x < output_width(); x++) { in TestF32()
816 …ASSERT_LE(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() + c], ou… in TestF32()
817 …ASSERT_GE(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() + c], ou… in TestF32()
818 … ASSERT_EQ(output_ref[((i * output_height() + y) * output_width() + x) * channels() + c], in TestF32()
819 … output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() + c]) << in TestF32()
839 (batch_size() * output_height() * output_width() - 1) * output_pixel_stride() + channels(), in TestSetupS8()
841 std::vector<float> output_ref(batch_size() * output_height() * output_width() * channels()); in TestSetupS8()
850 for (size_t ox = 0; ox < output_width(); ox++) { in TestSetupS8()
865 … output_ref[((i * output_height() + oy) * output_width() + ox) * channels() + c] = max_value; in TestSetupS8()
902 for (size_t x = 0; x < output_width(); x++) { in TestSetupS8()
904 …ASSERT_LE(int32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() … in TestSetupS8()
905 …ASSERT_GE(int32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() … in TestSetupS8()
906 … ASSERT_EQ(int32_t(output_ref[((i * output_height() + y) * output_width() + x) * channels() + c]), in TestSetupS8()
907 … int32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() + c])) << in TestSetupS8()
980 (batch_size() * output_height() * output_width() - 1) * output_pixel_stride() + channels(), in TestSetupU8()
982 std::vector<float> output_ref(batch_size() * output_height() * output_width() * channels()); in TestSetupU8()
991 for (size_t ox = 0; ox < output_width(); ox++) { in TestSetupU8()
1006 … output_ref[((i * output_height() + oy) * output_width() + ox) * channels() + c] = max_value; in TestSetupU8()
1043 for (size_t x = 0; x < output_width(); x++) { in TestSetupU8()
1045 …ASSERT_LE(uint32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride()… in TestSetupU8()
1046 …ASSERT_GE(uint32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride()… in TestSetupU8()
1047 … ASSERT_EQ(uint32_t(output_ref[((i * output_height() + y) * output_width() + x) * channels() + c]), in TestSetupU8()
1048 … uint32_t(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() + c])) << in TestSetupU8()
1122 (batch_size() * output_height() * output_width() - 1) * output_pixel_stride() + channels(), in TestSetupF16()
1124 std::vector<float> output_ref(batch_size() * output_height() * output_width() * channels()); in TestSetupF16()
1133 for (size_t ox = 0; ox < output_width(); ox++) { in TestSetupF16()
1146 … output_ref[((i * output_height() + oy) * output_width() + ox) * channels() + c] = max_value; in TestSetupF16()
1210 for (size_t x = 0; x < output_width(); x++) { in TestSetupF16()
1212 …ASSERT_LE(fp16_ieee_to_fp32_value(output[((i * output_height() + y) * output_width() + x) * output… in TestSetupF16()
1213 …ASSERT_GE(fp16_ieee_to_fp32_value(output[((i * output_height() + y) * output_width() + x) * output… in TestSetupF16()
1215 …fp16_ieee_to_fp32_value(output[((i * output_height() + y) * output_width() + x) * output_pixel_str… in TestSetupF16()
1216 output_ref[((i * output_height() + y) * output_width() + x) * channels() + c]) << in TestSetupF16()
1291 (batch_size() * output_height() * output_width() - 1) * output_pixel_stride() + channels(), in TestSetupF32()
1293 std::vector<float> output_ref(batch_size() * output_height() * output_width() * channels()); in TestSetupF32()
1302 for (size_t ox = 0; ox < output_width(); ox++) { in TestSetupF32()
1315 … output_ref[((i * output_height() + oy) * output_width() + ox) * channels() + c] = max_value; in TestSetupF32()
1368 for (size_t x = 0; x < output_width(); x++) { in TestSetupF32()
1370 …ASSERT_LE(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() + c], ou… in TestSetupF32()
1371 …ASSERT_GE(output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() + c], ou… in TestSetupF32()
1372 … ASSERT_EQ(output_ref[((i * output_height() + y) * output_width() + x) * channels() + c], in TestSetupF32()
1373 … output[((i * output_height() + y) * output_width() + x) * output_pixel_stride() + c]) << in TestSetupF32()