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 --- ...record_by_record_caffe_parser_8hpp_source.xhtml | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 21.02/_record_by_record_caffe_parser_8hpp_source.xhtml (limited to '21.02/_record_by_record_caffe_parser_8hpp_source.xhtml') diff --git a/21.02/_record_by_record_caffe_parser_8hpp_source.xhtml b/21.02/_record_by_record_caffe_parser_8hpp_source.xhtml new file mode 100644 index 0000000000..991d6a6fc3 --- /dev/null +++ b/21.02/_record_by_record_caffe_parser_8hpp_source.xhtml @@ -0,0 +1,120 @@ + + + + + + + + + + + + + +ArmNN: src/armnnCaffeParser/RecordByRecordCaffeParser.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
RecordByRecordCaffeParser.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <string>
9 #include <vector>
10 #include <iostream>
11 
12 #include "caffe/proto/caffe.pb.h"
13 
14 #include "CaffeParser.hpp"
15 
16 
17 
18 namespace armnnCaffeParser
19 {
20 
21 class NetParameterInfo;
22 class LayerParameterInfo;
23 
24 
26 {
27 public:
28 
29  /// Create the network from a protobuf binary file on disk
31  const char* graphFile,
32  const std::map<std::string, armnn::TensorShape>& inputShapes,
33  const std::vector<std::string>& requestedOutputs) override;
34 
36 
37 private:
38  void ProcessLayers(const NetParameterInfo& netParameterInfo,
39  std::vector<LayerParameterInfo>& layerInfo,
40  const std::vector<std::string>& m_RequestedOutputs,
41  std::vector<const LayerParameterInfo*>& sortedNodes);
42  armnn::INetworkPtr LoadLayers(std::ifstream& ifs,
43  std::vector<const LayerParameterInfo *>& sortedNodes,
44  const NetParameterInfo& netParameterInfo);
45  std::vector<const LayerParameterInfo*> GetInputs(
46  const LayerParameterInfo& layerParam);
47 
48  std::map<std::string, const LayerParameterInfo*> m_CaffeLayersByTopName;
49  std::vector<std::string> m_RequestedOutputs;
50 };
51 
52 } // namespace armnnCaffeParser
53 
Caffe networks are loaded from protobuf files (binary or text) using the protobuf library and the gen...
+ + + + +
virtual armnn::INetworkPtr CreateNetworkFromBinaryFile(const char *graphFile, const std::map< std::string, armnn::TensorShape > &inputShapes, const std::vector< std::string > &requestedOutputs) override
Create the network from a protobuf binary file on disk.
+
std::unique_ptr< INetwork, void(*)(INetwork *network)> INetworkPtr
Definition: INetwork.hpp:173
+
+
+ + + + -- cgit v1.2.1