From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_caffe_alex_net-_armnn_8cpp.xhtml | 161 ++++++++++++++++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 21.02/_caffe_alex_net-_armnn_8cpp.xhtml (limited to '21.02/_caffe_alex_net-_armnn_8cpp.xhtml') diff --git a/21.02/_caffe_alex_net-_armnn_8cpp.xhtml b/21.02/_caffe_alex_net-_armnn_8cpp.xhtml new file mode 100644 index 0000000000..9578c6b9aa --- /dev/null +++ b/21.02/_caffe_alex_net-_armnn_8cpp.xhtml @@ -0,0 +1,161 @@ + + + + + + + + + + + + + +ArmNN: tests/CaffeAlexNet-Armnn/CaffeAlexNet-Armnn.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
CaffeAlexNet-Armnn.cpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Functions

int main (int argc, char *argv[])
 
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char * argv[] 
)
+
+ +

Definition at line 9 of file CaffeAlexNet-Armnn.cpp.

+
10 {
11  int retVal = EXIT_FAILURE;
12  try
13  {
14  using DataType = float;
15  using DatabaseType = CaffePreprocessor;
16  using ParserType = armnnCaffeParser::ICaffeParser;
17  using ModelType = InferenceModel<ParserType, DataType>;
18 
19  // Coverity fix: ClassifierInferenceTestMain() may throw uncaught exceptions.
20  retVal = armnn::test::ClassifierInferenceTestMain<DatabaseType, ParserType>(
21  argc, argv, "bvlc_alexnet_1.caffemodel", true, "data", "prob", { 0 },
22  [](const char* dataDir, const ModelType &) {
23  return DatabaseType(dataDir);
24  });
25  }
26  catch (const std::exception& e)
27  {
28  // Coverity fix: BOOST_LOG_TRIVIAL (typically used to report errors) may throw an
29  // exception of type std::length_error.
30  // Using stderr instead in this context as there is no point in nesting try-catch blocks here.
31  std::cerr << "WARNING: CaffeAlexNet-Armnn: An error has occurred when running the "
32  "classifier inference tests: " << e.what() << std::endl;
33  }
34  return retVal;
35 }
+ +
DataType
Definition: Types.hpp:32
+ +
+
+
+
+
+ + + + -- cgit v1.2.1