aboutsummaryrefslogtreecommitdiff
path: root/tests/CaffeVGG-Armnn
diff options
context:
space:
mode:
authortelsoa01 <telmo.soares@arm.com>2018-03-09 14:13:49 +0000
committertelsoa01 <telmo.soares@arm.com>2018-03-09 14:13:49 +0000
commit4fcda0101ec3d110c1d6d7bee5c83416b645528a (patch)
treec9a70aeb2887006160c1b3d265c27efadb7bdbae /tests/CaffeVGG-Armnn
downloadarmnn-4fcda0101ec3d110c1d6d7bee5c83416b645528a.tar.gz
Release 18.02
Change-Id: Id3c11dc5ee94ef664374a988fcc6901e9a232fa6
Diffstat (limited to 'tests/CaffeVGG-Armnn')
-rw-r--r--tests/CaffeVGG-Armnn/CaffeVGG-Armnn.cpp17
-rw-r--r--tests/CaffeVGG-Armnn/Validation.txt1000
2 files changed, 1017 insertions, 0 deletions
diff --git a/tests/CaffeVGG-Armnn/CaffeVGG-Armnn.cpp b/tests/CaffeVGG-Armnn/CaffeVGG-Armnn.cpp
new file mode 100644
index 0000000000..e7fc55c7e7
--- /dev/null
+++ b/tests/CaffeVGG-Armnn/CaffeVGG-Armnn.cpp
@@ -0,0 +1,17 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// See LICENSE file in the project root for full license information.
+//
+#include "../InferenceTest.hpp"
+#include "../ImageNetDatabase.hpp"
+#include "armnnCaffeParser/ICaffeParser.hpp"
+
+int main(int argc, char* argv[])
+{
+ armnn::TensorShape inputTensorShape({ 1, 3, 224, 224 });
+ return armnn::test::ClassifierInferenceTestMain<ImageNetDatabase, armnnCaffeParser::ICaffeParser>(
+ argc, argv, "VGG_CNN_S.caffemodel", true,
+ "input", "prob", { 0 },
+ [](const char* dataDir) { return ImageNetDatabase(dataDir, 224, 224); },
+ &inputTensorShape);
+}
diff --git a/tests/CaffeVGG-Armnn/Validation.txt b/tests/CaffeVGG-Armnn/Validation.txt
new file mode 100644
index 0000000000..cb95f050e2
--- /dev/null
+++ b/tests/CaffeVGG-Armnn/Validation.txt
@@ -0,0 +1,1000 @@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