24.08
|
#include <ITfLiteParser.hpp>
Classes | |
struct | TfLiteParserOptions |
Public Member Functions | |
armnn::INetworkPtr | CreateNetworkFromBinaryFile (const char *graphFile) |
Create the network from a flatbuffers binary file on disk. More... | |
armnn::INetworkPtr | CreateNetworkFromBinary (const std::vector< uint8_t > &binaryContent) |
Create the network from a flatbuffers binary. More... | |
BindingPointInfo | GetNetworkInputBindingInfo (size_t subgraphId, const std::string &name) const |
Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name and subgraph id. More... | |
BindingPointInfo | GetNetworkOutputBindingInfo (size_t subgraphId, const std::string &name) const |
Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name and subgraph id. More... | |
size_t | GetSubgraphCount () const |
Return the number of subgraphs in the parsed model. More... | |
std::vector< std::string > | GetSubgraphInputTensorNames (size_t subgraphId) const |
Return the input tensor names for a given subgraph. More... | |
std::vector< std::string > | GetSubgraphOutputTensorNames (size_t subgraphId) const |
Return the output tensor names for a given subgraph. More... | |
Static Public Member Functions | |
static ITfLiteParser * | CreateRaw (const armnn::Optional< TfLiteParserOptions > &options=armnn::EmptyOptional()) |
static ITfLiteParserPtr | Create (const armnn::Optional< TfLiteParserOptions > &options=armnn::EmptyOptional()) |
static void | Destroy (ITfLiteParser *parser) |
Definition at line 26 of file ITfLiteParser.hpp.
|
static |
Definition at line 67 of file TfLiteParser.cpp.
armnn::INetworkPtr CreateNetworkFromBinary | ( | const std::vector< uint8_t > & | binaryContent | ) |
Create the network from a flatbuffers binary.
Definition at line 82 of file TfLiteParser.cpp.
armnn::INetworkPtr CreateNetworkFromBinaryFile | ( | const char * | graphFile | ) |
Create the network from a flatbuffers binary file on disk.
Definition at line 77 of file TfLiteParser.cpp.
References ITfLiteParser::CreateNetworkFromBinaryFile().
Referenced by ITfLiteParser::CreateNetworkFromBinaryFile().
|
static |
Definition at line 62 of file TfLiteParser.cpp.
|
static |
Definition at line 72 of file TfLiteParser.cpp.
BindingPointInfo GetNetworkInputBindingInfo | ( | size_t | subgraphId, |
const std::string & | name | ||
) | const |
Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name and subgraph id.
Definition at line 87 of file TfLiteParser.cpp.
BindingPointInfo GetNetworkOutputBindingInfo | ( | size_t | subgraphId, |
const std::string & | name | ||
) | const |
Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name and subgraph id.
Definition at line 93 of file TfLiteParser.cpp.
size_t GetSubgraphCount | ( | ) | const |
Return the number of subgraphs in the parsed model.
Definition at line 99 of file TfLiteParser.cpp.
std::vector< std::string > GetSubgraphInputTensorNames | ( | size_t | subgraphId | ) | const |
Return the input tensor names for a given subgraph.
Definition at line 104 of file TfLiteParser.cpp.
std::vector< std::string > GetSubgraphOutputTensorNames | ( | size_t | subgraphId | ) | const |
Return the output tensor names for a given subgraph.
Definition at line 109 of file TfLiteParser.cpp.