|
25.11
|
#include <IOnnxParser.hpp>
Public Member Functions | |
| armnn::INetworkPtr | CreateNetworkFromBinary (const std::vector< uint8_t > &binaryContent) |
| Create the network from a protobuf binary vector. | |
| armnn::INetworkPtr | CreateNetworkFromBinary (const std::vector< uint8_t > &binaryContent, const std::map< std::string, armnn::TensorShape > &inputShapes) |
| Create the network from a protobuf binary vector, with inputShapes specified. | |
| armnn::INetworkPtr | CreateNetworkFromBinaryFile (const char *graphFile) |
| Create the network from a protobuf binary file on disk. | |
| armnn::INetworkPtr | CreateNetworkFromTextFile (const char *graphFile) |
| Create the network from a protobuf text file on disk. | |
| armnn::INetworkPtr | CreateNetworkFromString (const std::string &protoText) |
| Create the network directly from protobuf text in a string. Useful for debugging/testing. | |
| armnn::INetworkPtr | CreateNetworkFromBinaryFile (const char *graphFile, const std::map< std::string, armnn::TensorShape > &inputShapes) |
| Create the network from a protobuf binary file on disk, with inputShapes specified. | |
| armnn::INetworkPtr | CreateNetworkFromTextFile (const char *graphFile, const std::map< std::string, armnn::TensorShape > &inputShapes) |
| Create the network from a protobuf text file on disk, with inputShapes specified. | |
| armnn::INetworkPtr | CreateNetworkFromString (const std::string &protoText, const std::map< std::string, armnn::TensorShape > &inputShapes) |
| Create the network directly from protobuf text in a string, with inputShapes specified. | |
| BindingPointInfo | GetNetworkInputBindingInfo (const std::string &name) const |
| Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name. | |
| BindingPointInfo | GetNetworkOutputBindingInfo (const std::string &name) const |
| Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name. | |
Static Public Member Functions | |
| static IOnnxParser * | CreateRaw () |
| static IOnnxParserPtr | Create () |
| static void | Destroy (IOnnxParser *parser) |
Definition at line 23 of file IOnnxParser.hpp.
|
static |
Definition at line 38 of file OnnxParser.cpp.
References ARMNN_NO_DEPRECATE_WARN_BEGIN, ARMNN_NO_DEPRECATE_WARN_END, Create(), CreateRaw(), and Destroy().
Referenced by Create().
| armnn::INetworkPtr CreateNetworkFromBinary | ( | const std::vector< uint8_t > & | binaryContent | ) |
Create the network from a protobuf binary vector.
Definition at line 55 of file OnnxParser.cpp.
References CreateNetworkFromBinary().
Referenced by CreateNetworkFromBinary(), and CreateNetworkFromBinary().
| armnn::INetworkPtr CreateNetworkFromBinary | ( | const std::vector< uint8_t > & | binaryContent, |
| const std::map< std::string, armnn::TensorShape > & | inputShapes ) |
Create the network from a protobuf binary vector, with inputShapes specified.
Definition at line 60 of file OnnxParser.cpp.
References CreateNetworkFromBinary().
| armnn::INetworkPtr CreateNetworkFromBinaryFile | ( | const char * | graphFile | ) |
Create the network from a protobuf binary file on disk.
Definition at line 50 of file OnnxParser.cpp.
References CreateNetworkFromBinaryFile().
Referenced by CreateNetworkFromBinaryFile(), and CreateNetworkFromBinaryFile().
| armnn::INetworkPtr CreateNetworkFromBinaryFile | ( | const char * | graphFile, |
| const std::map< std::string, armnn::TensorShape > & | inputShapes ) |
Create the network from a protobuf binary file on disk, with inputShapes specified.
Definition at line 76 of file OnnxParser.cpp.
References CreateNetworkFromBinaryFile().
| armnn::INetworkPtr CreateNetworkFromString | ( | const std::string & | protoText | ) |
Create the network directly from protobuf text in a string. Useful for debugging/testing.
Definition at line 71 of file OnnxParser.cpp.
References CreateNetworkFromString().
Referenced by CreateNetworkFromString(), and CreateNetworkFromString().
| armnn::INetworkPtr CreateNetworkFromString | ( | const std::string & | protoText, |
| const std::map< std::string, armnn::TensorShape > & | inputShapes ) |
Create the network directly from protobuf text in a string, with inputShapes specified.
Useful for debugging/testing
Definition at line 89 of file OnnxParser.cpp.
References CreateNetworkFromString().
| armnn::INetworkPtr CreateNetworkFromTextFile | ( | const char * | graphFile | ) |
Create the network from a protobuf text file on disk.
Definition at line 66 of file OnnxParser.cpp.
References CreateNetworkFromTextFile().
Referenced by CreateNetworkFromTextFile(), and CreateNetworkFromTextFile().
| armnn::INetworkPtr CreateNetworkFromTextFile | ( | const char * | graphFile, |
| const std::map< std::string, armnn::TensorShape > & | inputShapes ) |
Create the network from a protobuf text file on disk, with inputShapes specified.
Definition at line 83 of file OnnxParser.cpp.
References CreateNetworkFromTextFile().
|
static |
Definition at line 33 of file OnnxParser.cpp.
References CreateRaw().
Referenced by Create(), and CreateRaw().
|
static |
| BindingPointInfo GetNetworkInputBindingInfo | ( | const std::string & | name | ) | const |
Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name.
Definition at line 95 of file OnnxParser.cpp.
References GetNetworkInputBindingInfo().
Referenced by GetNetworkInputBindingInfo().
| BindingPointInfo GetNetworkOutputBindingInfo | ( | const std::string & | name | ) | const |
Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name.
Definition at line 100 of file OnnxParser.cpp.
References GetNetworkOutputBindingInfo().
Referenced by GetNetworkOutputBindingInfo().