aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets/FullyConnectedLayerDataset.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/datasets/FullyConnectedLayerDataset.h')
-rw-r--r--tests/datasets/FullyConnectedLayerDataset.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/datasets/FullyConnectedLayerDataset.h b/tests/datasets/FullyConnectedLayerDataset.h
index 085e9c76b6..06f74ec588 100644
--- a/tests/datasets/FullyConnectedLayerDataset.h
+++ b/tests/datasets/FullyConnectedLayerDataset.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2018 ARM Limited.
+ * Copyright (c) 2017-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -114,6 +114,17 @@ private:
std::vector<TensorShape> _dst_shapes{};
};
+class FullyConnectedLayerWithActivationDataset final : public FullyConnectedLayerDataset
+{
+public:
+ FullyConnectedLayerWithActivationDataset()
+ {
+ // Conv -> FC
+ add_config(TensorShape(8U, 1U, 1U), TensorShape(8U, 16U), TensorShape(16U), TensorShape(16U));
+ // FC -> FC
+ add_config(TensorShape(1U), TensorShape(1U, 10U), TensorShape(10U), TensorShape(10U));
+ }
+};
class TinyFullyConnectedLayerDataset final : public FullyConnectedLayerDataset
{
public: