From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- ...lassarmnn_caffe_parser_1_1_i_caffe_parser.xhtml | 489 +++++++++++++++++++++ 1 file changed, 489 insertions(+) create mode 100644 20.02/classarmnn_caffe_parser_1_1_i_caffe_parser.xhtml (limited to '20.02/classarmnn_caffe_parser_1_1_i_caffe_parser.xhtml') diff --git a/20.02/classarmnn_caffe_parser_1_1_i_caffe_parser.xhtml b/20.02/classarmnn_caffe_parser_1_1_i_caffe_parser.xhtml new file mode 100644 index 0000000000..99afdef093 --- /dev/null +++ b/20.02/classarmnn_caffe_parser_1_1_i_caffe_parser.xhtml @@ -0,0 +1,489 @@ + + + + + + + + + + + + + +ArmNN: ICaffeParser Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

#include <ICaffeParser.hpp>

+
+Inheritance diagram for ICaffeParser:
+
+
+ + +CaffeParserBase +CaffeParser +RecordByRecordCaffeParser + +
+ + + + + + + + + + + + + + + + + +

+Public Member Functions

virtual armnn::INetworkPtr CreateNetworkFromTextFile (const char *graphFile, const std::map< std::string, armnn::TensorShape > &inputShapes, const std::vector< std::string > &requestedOutputs)=0
 Create the network from a protobuf text file on the disk. More...
 
virtual armnn::INetworkPtr CreateNetworkFromBinaryFile (const char *graphFile, const std::map< std::string, armnn::TensorShape > &inputShapes, const std::vector< std::string > &requestedOutputs)=0
 Create the network from a protobuf binary file on the disk. More...
 
virtual armnn::INetworkPtr CreateNetworkFromString (const char *protoText, const std::map< std::string, armnn::TensorShape > &inputShapes, const std::vector< std::string > &requestedOutputs)=0
 Create the network directly from protobuf text in a string. Useful for debugging/testin.g. More...
 
virtual BindingPointInfo GetNetworkInputBindingInfo (const std::string &name) const =0
 Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name. More...
 
virtual BindingPointInfo GetNetworkOutputBindingInfo (const std::string &name) const =0
 Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name. More...
 
+ + + + + + + +

+Static Public Member Functions

static ICaffeParserCreateRaw ()
 
static ICaffeParserPtr Create ()
 
static void Destroy (ICaffeParser *parser)
 
+ + + +

+Protected Member Functions

virtual ~ICaffeParser ()
 
+

Detailed Description

+
+

Definition at line 24 of file ICaffeParser.hpp.

+

Constructor & Destructor Documentation

+ +

◆ ~ICaffeParser()

+ +
+
+ + + + + +
+ + + + + + + +
virtual ~ICaffeParser ()
+
+inlineprotectedvirtual
+
+ +

Definition at line 56 of file ICaffeParser.hpp.

+
56 {};
+
+
+

Member Function Documentation

+ +

◆ Create()

+ +
+
+ + + + + +
+ + + + + + + +
ICaffeParserPtr Create ()
+
+static
+
+ +

Definition at line 264 of file CaffeParser.cpp.

+ +

References ICaffeParser::Destroy().

+ +

Referenced by BOOST_AUTO_TEST_CASE(), and main().

+
265 {
267 }
static void Destroy(ICaffeParser *parser)
+
std::unique_ptr< ICaffeParser, void(*)(ICaffeParser *parser)> ICaffeParserPtr
+
static ICaffeParser * CreateRaw()
+
+
+
+ +

◆ CreateNetworkFromBinaryFile()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual armnn::INetworkPtr CreateNetworkFromBinaryFile (const char * graphFile,
const std::map< std::string, armnn::TensorShape > & inputShapes,
const std::vector< std::string > & requestedOutputs 
)
+
+pure virtual
+
+ +

Create the network from a protobuf binary file on the disk.

+ +

Implemented in CaffeParser, and RecordByRecordCaffeParser.

+ +
+
+ +

◆ CreateNetworkFromString()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual armnn::INetworkPtr CreateNetworkFromString (const char * protoText,
const std::map< std::string, armnn::TensorShape > & inputShapes,
const std::vector< std::string > & requestedOutputs 
)
+
+pure virtual
+
+ +

Create the network directly from protobuf text in a string. Useful for debugging/testin.g.

+ +

Implemented in CaffeParserBase.

+ +
+
+ +

◆ CreateNetworkFromTextFile()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual armnn::INetworkPtr CreateNetworkFromTextFile (const char * graphFile,
const std::map< std::string, armnn::TensorShape > & inputShapes,
const std::vector< std::string > & requestedOutputs 
)
+
+pure virtual
+
+ +

Create the network from a protobuf text file on the disk.

+ +

Implemented in CaffeParserBase.

+ +
+
+ +

◆ CreateRaw()

+ +
+
+ + + + + +
+ + + + + + + +
ICaffeParser * CreateRaw ()
+
+static
+
+ +

Definition at line 259 of file CaffeParser.cpp.

+
260 {
261  return new RecordByRecordCaffeParser();
262 }
+
+
+ +

◆ Destroy()

+ +
+
+ + + + + +
+ + + + + + + + +
void Destroy (ICaffeParserparser)
+
+static
+
+ +

Definition at line 269 of file CaffeParser.cpp.

+ +

Referenced by ICaffeParser::Create().

+
270 {
271  delete parser;
272 }
+
+
+ +

◆ GetNetworkInputBindingInfo()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual BindingPointInfo GetNetworkInputBindingInfo (const std::string & name) const
+
+pure virtual
+
+ +

Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name.

+ +

Implemented in CaffeParserBase.

+ +
+
+ +

◆ GetNetworkOutputBindingInfo()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual BindingPointInfo GetNetworkOutputBindingInfo (const std::string & name) const
+
+pure virtual
+
+ +

Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name.

+ +

Implemented in CaffeParserBase.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1