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 TfResNext_Quantized-Armnn.cpp.
11 int retVal = EXIT_FAILURE;
15 std::vector<ImageSet> imageSet =
17 {
"ILSVRC2012_val_00000018.JPEG", 21 },
29 retVal = armnn::test::ClassifierInferenceTestMain<DatabaseType, ParserType>(
30 argc, argv,
"resnext_TF_quantized_for_armnn_team.pb",
true,
31 "inputs",
"pool1", { 0, 1 },
32 [&imageSet](
const char* dataDir,
const ModelType &) {
33 return DatabaseType(dataDir, 224, 224, imageSet);
37 catch (
const std::exception& e)
42 std::cerr <<
"WARNING: TfResNext_Quantized-Armnn: An error has occurred when running " 43 "the classifier inference tests: " << e.what() << std::endl;
Parses a directed acyclic graph from a tensorflow protobuf file.