diff options
Diffstat (limited to 'tests/CaffeVGG-Armnn/CaffeVGG-Armnn.cpp')
-rw-r--r-- | tests/CaffeVGG-Armnn/CaffeVGG-Armnn.cpp | 17 |
1 files changed, 17 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); +} |