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 --- ...armnn_tf_lite_parser_1_1_i_tf_lite_parser.xhtml | 534 +++++++++++++++++++++ 1 file changed, 534 insertions(+) create mode 100644 20.02/classarmnn_tf_lite_parser_1_1_i_tf_lite_parser.xhtml (limited to '20.02/classarmnn_tf_lite_parser_1_1_i_tf_lite_parser.xhtml') diff --git a/20.02/classarmnn_tf_lite_parser_1_1_i_tf_lite_parser.xhtml b/20.02/classarmnn_tf_lite_parser_1_1_i_tf_lite_parser.xhtml new file mode 100644 index 0000000000..4df18b1311 --- /dev/null +++ b/20.02/classarmnn_tf_lite_parser_1_1_i_tf_lite_parser.xhtml @@ -0,0 +1,534 @@ + + + + + + + + + + + + + +ArmNN: ITfLiteParser Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

#include <ITfLiteParser.hpp>

+
+Inheritance diagram for ITfLiteParser:
+
+
+ + +TfLiteParser + +
+ + + + +

+Classes

struct  TfLiteParserOptions
 
+ + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

virtual armnn::INetworkPtr CreateNetworkFromBinaryFile (const char *graphFile)=0
 Create the network from a flatbuffers binary file on disk. More...
 
virtual armnn::INetworkPtr CreateNetworkFromBinary (const std::vector< uint8_t > &binaryContent)=0
 Create the network from a flatbuffers binary. More...
 
virtual BindingPointInfo GetNetworkInputBindingInfo (size_t subgraphId, const std::string &name) const =0
 Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name and subgraph id. More...
 
virtual BindingPointInfo GetNetworkOutputBindingInfo (size_t subgraphId, const std::string &name) const =0
 Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name and subgraph id. More...
 
virtual size_t GetSubgraphCount () const =0
 Return the number of subgraphs in the parsed model. More...
 
virtual std::vector< std::string > GetSubgraphInputTensorNames (size_t subgraphId) const =0
 Return the input tensor names for a given subgraph. More...
 
virtual std::vector< std::string > GetSubgraphOutputTensorNames (size_t subgraphId) const =0
 Return the output tensor names for a given subgraph. More...
 
+ + + + + + + +

+Static Public Member Functions

static ITfLiteParserCreateRaw (const armnn::Optional< TfLiteParserOptions > &options=armnn::EmptyOptional())
 
static ITfLiteParserPtr Create (const armnn::Optional< TfLiteParserOptions > &options=armnn::EmptyOptional())
 
static void Destroy (ITfLiteParser *parser)
 
+ + + +

+Protected Member Functions

virtual ~ITfLiteParser ()
 
+

Detailed Description

+
+

Definition at line 25 of file ITfLiteParser.hpp.

+

Constructor & Destructor Documentation

+ +

◆ ~ITfLiteParser()

+ +
+
+ + + + + +
+ + + + + + + +
virtual ~ITfLiteParser ()
+
+inlineprotectedvirtual
+
+ +

Definition at line 66 of file ITfLiteParser.hpp.

+
66 {};
+
+
+

Member Function Documentation

+ +

◆ Create()

+ +
+
+ + + + + +
+ + + + + + + + +
ITfLiteParserPtr Create (const armnn::Optional< TfLiteParserOptions > & options = armnn::EmptyOptional())
+
+static
+
+ +

Definition at line 3054 of file TfLiteParser.cpp.

+ +

References ITfLiteParser::CreateRaw(), and ITfLiteParser::Destroy().

+
3055 {
3057 }
std::unique_ptr< ITfLiteParser, void(*)(ITfLiteParser *parser)> ITfLiteParserPtr
+
static void Destroy(ITfLiteParser *parser)
+
static ITfLiteParser * CreateRaw(const armnn::Optional< TfLiteParserOptions > &options=armnn::EmptyOptional())
+
+
+
+ +

◆ CreateNetworkFromBinary()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual armnn::INetworkPtr CreateNetworkFromBinary (const std::vector< uint8_t > & binaryContent)
+
+pure virtual
+
+ +

Create the network from a flatbuffers binary.

+ +

Implemented in TfLiteParser.

+ +
+
+ +

◆ CreateNetworkFromBinaryFile()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual armnn::INetworkPtr CreateNetworkFromBinaryFile (const char * graphFile)
+
+pure virtual
+
+ +

Create the network from a flatbuffers binary file on disk.

+ +

Implemented in TfLiteParser.

+ +
+
+ +

◆ CreateRaw()

+ +
+
+ + + + + +
+ + + + + + + + +
ITfLiteParser * CreateRaw (const armnn::Optional< TfLiteParserOptions > & options = armnn::EmptyOptional())
+
+static
+
+ +

Definition at line 3049 of file TfLiteParser.cpp.

+ +

References TfLiteParser::TfLiteParser().

+ +

Referenced by ITfLiteParser::Create().

+
3050 {
3051  return new TfLiteParser(options);
3052 }
+
+
+ +

◆ Destroy()

+ +
+
+ + + + + +
+ + + + + + + + +
void Destroy (ITfLiteParserparser)
+
+static
+
+ +

Definition at line 3059 of file TfLiteParser.cpp.

+ +

Referenced by ITfLiteParser::Create().

+
3060 {
3061  delete parser;
3062 }
+
+
+ +

◆ GetNetworkInputBindingInfo()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual BindingPointInfo GetNetworkInputBindingInfo (size_t subgraphId,
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 and subgraph id.

+ +

Implemented in TfLiteParser.

+ +
+
+ +

◆ GetNetworkOutputBindingInfo()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual BindingPointInfo GetNetworkOutputBindingInfo (size_t subgraphId,
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 and subgraph id.

+ +

Implemented in TfLiteParser.

+ +
+
+ +

◆ GetSubgraphCount()

+ +
+
+ + + + + +
+ + + + + + + +
virtual size_t GetSubgraphCount () const
+
+pure virtual
+
+ +

Return the number of subgraphs in the parsed model.

+ +

Implemented in TfLiteParser.

+ +
+
+ +

◆ GetSubgraphInputTensorNames()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual std::vector<std::string> GetSubgraphInputTensorNames (size_t subgraphId) const
+
+pure virtual
+
+ +

Return the input tensor names for a given subgraph.

+ +

Implemented in TfLiteParser.

+ +
+
+ +

◆ GetSubgraphOutputTensorNames()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual std::vector<std::string> GetSubgraphOutputTensorNames (size_t subgraphId) const
+
+pure virtual
+
+ +

Return the output tensor names for a given subgraph.

+ +

Implemented in TfLiteParser.

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