From 73023027d6250daaa1df49fdeb1d21e59a0bf7f5 Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Tue, 4 Sep 2018 14:55:55 +0100 Subject: COMPMID-1539 Implement YOLOLayer on CL Change-Id: I332c0703e1399fca0c5b724529b54a28f49c88da Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/146842 Tested-by: Jenkins Reviewed-by: Georgios Pinitas --- tests/datasets/ShapeDatasets.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'tests/datasets/ShapeDatasets.h') 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 -- cgit v1.2.1