diff options
author | telsoa01 <telmo.soares@arm.com> | 2018-03-09 14:13:49 +0000 |
---|---|---|
committer | telsoa01 <telmo.soares@arm.com> | 2018-03-09 14:13:49 +0000 |
commit | 4fcda0101ec3d110c1d6d7bee5c83416b645528a (patch) | |
tree | c9a70aeb2887006160c1b3d265c27efadb7bdbae /tests/CaffeInception_BN-Armnn/CaffeInception_BN-Armnn.cpp | |
download | armnn-4fcda0101ec3d110c1d6d7bee5c83416b645528a.tar.gz |
Release 18.02
Change-Id: Id3c11dc5ee94ef664374a988fcc6901e9a232fa6
Diffstat (limited to 'tests/CaffeInception_BN-Armnn/CaffeInception_BN-Armnn.cpp')
-rw-r--r-- | tests/CaffeInception_BN-Armnn/CaffeInception_BN-Armnn.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/CaffeInception_BN-Armnn/CaffeInception_BN-Armnn.cpp b/tests/CaffeInception_BN-Armnn/CaffeInception_BN-Armnn.cpp new file mode 100644 index 0000000000..557a3b00f4 --- /dev/null +++ b/tests/CaffeInception_BN-Armnn/CaffeInception_BN-Armnn.cpp @@ -0,0 +1,19 @@ +// +// 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[]) +{ + std::vector<ImageSet> imageSet = + { + {"shark.jpg", 3694} + }; + return armnn::test::ClassifierInferenceTestMain<ImageNetDatabase, armnnCaffeParser::ICaffeParser>( + argc, argv, "Inception-BN-batchsize1.caffemodel", true, + "data", "softmax", { 0 }, + [&imageSet](const char* dataDir) { return ImageNetDatabase(dataDir, 224, 224, imageSet); }); +} |