MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / SmallCropResizeDataset

Class SmallCropResizeDataset

tests/datasets/CropResizeDataset.h:131–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129};
130
131class SmallCropResizeDataset final : public CropResizeDataset
132{
133public:
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

Callers 2

CropResize.cppFile · 0.85
CropResize.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected