surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame^] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // See LICENSE file in the project root for full license information. |
| 4 | // |
| 5 | #include "../InferenceTest.hpp" |
| 6 | #include "../MnistDatabase.hpp" |
| 7 | #include "armnnTfParser/ITfParser.hpp" |
| 8 | |
| 9 | int main(int argc, char* argv[]) |
| 10 | { |
| 11 | armnn::TensorShape inputTensorShape({ 1, 784, 1, 1 }); |
| 12 | return armnn::test::ClassifierInferenceTestMain<MnistDatabase, armnnTfParser::ITfParser>( |
| 13 | argc, argv, "simple_mnist_tf.prototxt", false, |
| 14 | "Placeholder", "Softmax", { 0, 1, 2, 3, 4 }, |
| 15 | [](const char* dataDir) { return MnistDatabase(dataDir, true); }, |
| 16 | &inputTensorShape); |
| 17 | } |