| 129 | }; |
| 130 | |
| 131 | class SmallCropResizeDataset final : public CropResizeDataset |
| 132 | { |
| 133 | public: |
| 134 | SmallCropResizeDataset() |
| 135 | { |
| 136 | add_config(TensorShape(1U, 5U, 5U), TensorShape(4, 5), Coordinates2D{2, 2}, InterpolationPolicy::BILINEAR, 100); |
| 137 | add_config(TensorShape(3U, 5U, 5U), TensorShape(4, 5), Coordinates2D{2, 2}, InterpolationPolicy::BILINEAR, 100); |
| 138 | add_config(TensorShape(1U, 5U, 5U), TensorShape(4, 5), Coordinates2D{10, 10}, InterpolationPolicy::BILINEAR, |
| 139 | 100); |
| 140 | add_config(TensorShape(15U, 30U, 30U, 10U), TensorShape(4, 20), Coordinates2D{10, 10}, |
| 141 | InterpolationPolicy::BILINEAR, 100); |
| 142 | |
| 143 | add_config(TensorShape(1U, 5U, 5U), TensorShape(4, 5), Coordinates2D{2, 2}, |
| 144 | InterpolationPolicy::NEAREST_NEIGHBOR, 100); |
| 145 | add_config(TensorShape(3U, 5U, 5U), TensorShape(4, 5), Coordinates2D{2, 2}, |
| 146 | InterpolationPolicy::NEAREST_NEIGHBOR, 100); |
| 147 | add_config(TensorShape(1U, 5U, 5U), TensorShape(4, 5), Coordinates2D{10, 10}, |
| 148 | InterpolationPolicy::NEAREST_NEIGHBOR, 100); |
| 149 | add_config(TensorShape(15U, 30U, 30U, 10U), TensorShape(4, 20), Coordinates2D{10, 10}, |
| 150 | InterpolationPolicy::NEAREST_NEIGHBOR, 100); |
| 151 | } |
| 152 | }; |
| 153 | } // namespace datasets |
| 154 | } // namespace test |
| 155 | } // namespace arm_compute |
no outgoing calls
no test coverage detected