aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets/ShapeDatasets.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/datasets/ShapeDatasets.h')
-rw-r--r--tests/datasets/ShapeDatasets.h96
1 files changed, 96 insertions, 0 deletions
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h
index b6923c15c9..f3e3220fd6 100644
--- a/tests/datasets/ShapeDatasets.h
+++ b/tests/datasets/ShapeDatasets.h
@@ -580,6 +580,102 @@ public:
}
};
+/** Data set containing small 1x7 tensor shapes. */
+class Small1x7Shapes final : public ShapeDataset
+{
+public:
+ Small1x7Shapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 1U, 7U, 7U, 4U },
+ TensorShape{ 1U, 7U, 4U, 13U },
+ TensorShape{ 1U, 7U, 9U, 2U },
+ TensorShape{ 1U, 7U, 3U, 5U },
+ })
+ {
+ }
+};
+
+/** Data set containing large 1x7 tensor shapes. */
+class Large1x7Shapes final : public ShapeDataset
+{
+public:
+ Large1x7Shapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 1U, 7U, 32U, 64U },
+ TensorShape{ 1U, 7U, 51U, 13U },
+ TensorShape{ 1U, 7U, 53U, 47U },
+ TensorShape{ 1U, 7U, 128U, 384U },
+ })
+ {
+ }
+};
+
+/** Data set containing small 7x7 tensor shapes. */
+class Small7x7Shapes final : public ShapeDataset
+{
+public:
+ Small7x7Shapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 7U, 7U, 7U, 4U },
+ TensorShape{ 7U, 7U, 4U, 13U },
+ TensorShape{ 7U, 7U, 9U, 2U },
+ TensorShape{ 7U, 7U, 3U, 5U },
+ })
+ {
+ }
+};
+
+/** Data set containing large 7x7 tensor shapes. */
+class Large7x7Shapes final : public ShapeDataset
+{
+public:
+ Large7x7Shapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 7U, 7U, 32U, 64U },
+ TensorShape{ 7U, 7U, 51U, 13U },
+ TensorShape{ 7U, 7U, 53U, 47U },
+ TensorShape{ 7U, 7U, 128U, 384U },
+ })
+ {
+ }
+};
+
+/** Data set containing small 7x1 tensor shapes. */
+class Small7x1Shapes final : public ShapeDataset
+{
+public:
+ Small7x1Shapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 7U, 1U, 7U, 4U },
+ TensorShape{ 7U, 1U, 4U, 13U },
+ TensorShape{ 7U, 1U, 9U, 2U },
+ TensorShape{ 7U, 1U, 3U, 5U },
+ })
+ {
+ }
+};
+
+/** Data set containing large 7x1 tensor shapes. */
+class Large7x1Shapes final : public ShapeDataset
+{
+public:
+ Large7x1Shapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 7U, 1U, 32U, 64U },
+ TensorShape{ 7U, 1U, 51U, 13U },
+ TensorShape{ 7U, 1U, 53U, 47U },
+ TensorShape{ 7U, 1U, 128U, 384U },
+ })
+ {
+ }
+};
+
/** Data set containing small tensor shapes for deconvolution. */
class SmallDeconvolutionShapes final : public ShapeDataset
{