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_parser_8cpp.xhtml | 279 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 21.02/_caffe_parser_8cpp.xhtml (limited to '21.02/_caffe_parser_8cpp.xhtml') diff --git a/21.02/_caffe_parser_8cpp.xhtml b/21.02/_caffe_parser_8cpp.xhtml new file mode 100644 index 0000000000..7dacbd795b --- /dev/null +++ b/21.02/_caffe_parser_8cpp.xhtml @@ -0,0 +1,279 @@ + + + + + + + + + + + + + +ArmNN: src/armnnCaffeParser/CaffeParser.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
CaffeParser.cpp File Reference
+
+
+
#include "CaffeParser.hpp"
+#include "RecordByRecordCaffeParser.hpp"
+#include "armnnCaffeParser/Version.hpp"
+#include "armnn/Descriptors.hpp"
+#include "armnn/INetwork.hpp"
+#include "armnn/Utils.hpp"
+#include "armnn/Exceptions.hpp"
+#include "GraphTopologicalSort.hpp"
+#include "VerificationHelpers.hpp"
+#include <armnn/utility/Assert.hpp>
+#include <armnn/utility/NumericCast.hpp>
+#include <fmt/format.h>
+#include "caffe/proto/caffe.pb.h"
+#include <google/protobuf/io/coded_stream.h>
+#include <google/protobuf/io/zero_copy_stream.h>
+#include <google/protobuf/io/zero_copy_stream_impl.h>
+#include <google/protobuf/text_format.h>
+#include <google/protobuf/stubs/common.h>
+#include <google/protobuf/stubs/once.h>
+#include <google/protobuf/descriptor.h>
+#include <google/protobuf/generated_message_reflection.h>
+#include <google/protobuf/reflection_ops.h>
+#include <google/protobuf/wire_format.h>
+#include <cmath>
+#include <iostream>
+#include <sstream>
+#include <queue>
+#include <fcntl.h>
+
+

Go to the source code of this file.

+ + + + + +

+Namespaces

 armnnCaffeParser
 Caffe networks are loaded from protobuf files (binary or text) using the protobuf library and the generated code from caffe.pb.h.
 
+ + + + + +

+Macros

#define GET_OPTIONAL_WITH_VECTOR_FALLBACK(PARAM, PARAM_TYPE, OPTIONAL_VALUE, FALLBACK_VECTOR, VALUE_TYPE, DEFAULT_VALUE)
 
#define GET_OPTIONAL_WITH_FALLBACK(PARAM, PARAM_TYPE, OPTIONAL_VALUE, FALLBACK_VALUE, VALUE_TYPE, DEFAULT_VALUE)
 
+ + + +

+Functions

BlobShape TensorDescToBlobShape (const TensorInfo &desc)
 
+

Macro Definition Documentation

+ +

◆ GET_OPTIONAL_WITH_FALLBACK

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define GET_OPTIONAL_WITH_FALLBACK( PARAM,
 PARAM_TYPE,
 OPTIONAL_VALUE,
 FALLBACK_VALUE,
 VALUE_TYPE,
 DEFAULT_VALUE 
)
+
+Value:
GetOptionalWithFallback( \
PARAM, \
[](const PARAM_TYPE & param, VALUE_TYPE defaultValue) \
{ \
if (param.has_##OPTIONAL_VALUE ()) \
{ \
return std::make_pair(true, param.OPTIONAL_VALUE ()); \
} \
else \
{ \
return std::make_pair(false, defaultValue); \
} \
}, \
[](const PARAM_TYPE & param, VALUE_TYPE defaultValue) \
{ \
if (param.has_##FALLBACK_VALUE ()) \
{ \
return std::make_pair(true, param.FALLBACK_VALUE ()); \
} \
else \
{ \
return std::make_pair(false, defaultValue); \
} \
}, \
DEFAULT_VALUE)
+

Definition at line 257 of file CaffeParser.cpp.

+ +

Referenced by ICaffeParser::CaffeParserImpl::ParsePoolingLayer().

+ +
+
+ +

◆ GET_OPTIONAL_WITH_VECTOR_FALLBACK

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define GET_OPTIONAL_WITH_VECTOR_FALLBACK( PARAM,
 PARAM_TYPE,
 OPTIONAL_VALUE,
 FALLBACK_VECTOR,
 VALUE_TYPE,
 DEFAULT_VALUE 
)
+
+Value:
GetOptionalWithFallback( \
PARAM, \
[](const PARAM_TYPE & param, VALUE_TYPE defaultValue) \
{ \
if (param.has_##OPTIONAL_VALUE ()) \
{ \
return std::make_pair(true, param.OPTIONAL_VALUE ()); \
} \
else \
{ \
return std::make_pair(false, defaultValue); \
} \
}, \
[](const PARAM_TYPE & param, VALUE_TYPE defaultValue) \
{ \
if (param.FALLBACK_VECTOR##_size() > 0) \
{ \
return std::make_pair(true, (param.FALLBACK_VECTOR ()).Get(0)); \
} \
else \
{ \
return std::make_pair(false, defaultValue); \
} \
}, \
DEFAULT_VALUE)
+

Definition at line 225 of file CaffeParser.cpp.

+ +

Referenced by ICaffeParser::CaffeParserImpl::ParseConvLayer(), and ICaffeParser::CaffeParserImpl::ParseDeconvLayer().

+ +
+
+
+
+ + + + -- cgit v1.2.1