aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets_new/AlexNetConvolutionLayerDataset.h
diff options
context:
space:
mode:
authorsteniu01 <steven.niu@arm.com>2017-07-28 14:40:58 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:16:42 +0100
commita629da13544c361ba9580a233109b2418fd6bb73 (patch)
tree7097c661b2455cd9ad008c314eab1bfea7fdf1f4 /tests/datasets_new/AlexNetConvolutionLayerDataset.h
parentc51b72fe34e6018a1807a2c78228da7beeee1750 (diff)
downloadComputeLibrary-a629da13544c361ba9580a233109b2418fd6bb73.tar.gz
COMPMID-458 add direct convolution to benchmark
Change-Id: I475cb1e3c69831aa5574305e9188251846cee6ba Reviewed-on: http://mpd-gerrit.cambridge.arm.com/82008 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/datasets_new/AlexNetConvolutionLayerDataset.h')
-rw-r--r--tests/datasets_new/AlexNetConvolutionLayerDataset.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/datasets_new/AlexNetConvolutionLayerDataset.h b/tests/datasets_new/AlexNetConvolutionLayerDataset.h
index 0341555638..18421cffe6 100644
--- a/tests/datasets_new/AlexNetConvolutionLayerDataset.h
+++ b/tests/datasets_new/AlexNetConvolutionLayerDataset.h
@@ -49,6 +49,17 @@ public:
add_config(TensorShape(13U, 13U, 384U), TensorShape(3U, 3U, 384U, 256U), TensorShape(256U), TensorShape(13U, 13U, 256U), PadStrideInfo(1, 1, 1, 1));
}
};
+
+class AlexNetDirectConvolutionLayerDataset final : public ConvolutionLayerDataset
+{
+public:
+ AlexNetDirectConvolutionLayerDataset()
+ {
+ add_config(TensorShape(13U, 13U, 256U), TensorShape(3U, 3U, 256U, 384U), TensorShape(384U), TensorShape(13U, 13U, 384U), PadStrideInfo(1, 1, 1, 1));
+ add_config(TensorShape(13U, 13U, 384U), TensorShape(3U, 3U, 384U, 384U), TensorShape(384U), TensorShape(13U, 13U, 384U), PadStrideInfo(1, 1, 1, 1));
+ add_config(TensorShape(13U, 13U, 384U), TensorShape(3U, 3U, 384U, 256U), TensorShape(256U), TensorShape(13U, 13U, 256U), PadStrideInfo(1, 1, 1, 1));
+ }
+};
} // namespace datasets
} // namespace test
} // namespace arm_compute