aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets/ShapeDatasets.h
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2017-09-13 16:23:18 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitb2833b86def3a44af349b71450629fdb4590ad25 (patch)
tree4ac622759961c71a9df5f55728bdbc708558351a /tests/datasets/ShapeDatasets.h
parent92111c6db643b6098922b7dd1ad2fdfcc558850e (diff)
downloadComputeLibrary-b2833b86def3a44af349b71450629fdb4590ad25.tar.gz
COMPMID-415 - Fixed bad_alloc in DepthConcatenate reducing the size of input tensor for the NIGHTLY tests
Change-Id: I06a4b3f56c5157a67548570371d78f8a73029c2d Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87601 Reviewed-by: Pablo Tello <pablo.tello@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/datasets/ShapeDatasets.h')
-rw-r--r--tests/datasets/ShapeDatasets.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h
index 806fc04c0d..ddcf6a7a95 100644
--- a/tests/datasets/ShapeDatasets.h
+++ b/tests/datasets/ShapeDatasets.h
@@ -202,6 +202,22 @@ public:
{
}
};
+
+/** Data set containing 2D tensor shapes for DepthConcatenate. */
+class DepthConcatenateShapes final : public ShapeDataset
+{
+public:
+ DepthConcatenateShapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 322U, 243U },
+ TensorShape{ 463U, 879U },
+ TensorShape{ 416U, 651U }
+ })
+ {
+ }
+};
+
} // namespace datasets
} // namespace test
} // namespace arm_compute