aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets/ShapeDatasets.h
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2018-09-04 14:55:55 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit73023027d6250daaa1df49fdeb1d21e59a0bf7f5 (patch)
treefbe02771dde050fa1c386881cc6ff43d1ea10e05 /tests/datasets/ShapeDatasets.h
parent555d1109dd566661bcf911c28030927cf4fde5b4 (diff)
downloadComputeLibrary-73023027d6250daaa1df49fdeb1d21e59a0bf7f5.tar.gz
COMPMID-1539 Implement YOLOLayer on CL
Change-Id: I332c0703e1399fca0c5b724529b54a28f49c88da Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/146842 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'tests/datasets/ShapeDatasets.h')
-rw-r--r--tests/datasets/ShapeDatasets.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h
index c7955bc8c5..551e7ffa8c 100644
--- a/tests/datasets/ShapeDatasets.h
+++ b/tests/datasets/ShapeDatasets.h
@@ -846,6 +846,38 @@ public:
{
}
};
+
+/** Data set containing small YOLO tensor shapes. */
+class SmallYOLOShapes final : public ShapeDataset
+{
+public:
+ SmallYOLOShapes()
+ : ShapeDataset("Shape",
+ {
+ // Batch size 1
+ TensorShape{ 11U, 11U, 270U },
+ TensorShape{ 27U, 13U, 90U },
+ TensorShape{ 128U, 64U, 45U, 2U },
+ TensorShape{ 11U, 11U, 45U, 3U }
+ })
+ {
+ }
+};
+
+/** Data set containing large YOLO tensor shapes. */
+class LargeYOLOShapes final : public ShapeDataset
+{
+public:
+ LargeYOLOShapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 24U, 23U, 270U },
+ TensorShape{ 51U, 63U, 90U, 2U },
+ TensorShape{ 76U, 91U, 45U, 3U }
+ })
+ {
+ }
+};
} // namespace datasets
} // namespace test
} // namespace arm_compute