Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 9 of file TfCifar10-Armnn.cpp.
13 int retVal = EXIT_FAILURE;
22 retVal = armnn::test::ClassifierInferenceTestMain<DatabaseType, ParserType>(
23 argc, argv,
"cifar10_tf.prototxt",
false,
24 "data",
"prob", { 0, 1, 2, 4, 7 },
25 [](
const char* dataDir,
const ModelType&) {
26 return DatabaseType(dataDir,
true);
27 }, &inputTensorShape);
29 catch (
const std::exception& e)
34 std::cerr <<
"WARNING: TfCifar10-Armnn: An error has occurred when running " 35 "the classifier inference tests: " << e.what() << std::endl;
Parses a directed acyclic graph from a tensorflow protobuf file.