24.08
|
#include <IOnnxParser.hpp>
Public Member Functions | |
armnn::INetworkPtr | CreateNetworkFromBinary (const std::vector< uint8_t > &binaryContent) |
Create the network from a protobuf binary vector. More... | |
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. More... | |
armnn::INetworkPtr | CreateNetworkFromBinaryFile (const char *graphFile) |
Create the network from a protobuf binary file on disk. More... | |
armnn::INetworkPtr | CreateNetworkFromTextFile (const char *graphFile) |
Create the network from a protobuf text file on disk. More... | |
armnn::INetworkPtr | CreateNetworkFromString (const std::string &protoText) |
Create the network directly from protobuf text in a string. Useful for debugging/testing. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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, and IDeserializer::CreateRaw().
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.
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.
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 IOnnxParser::CreateNetworkFromBinaryFile().
Referenced by IOnnxParser::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.
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.
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.
armnn::INetworkPtr CreateNetworkFromTextFile | ( | const char * | graphFile | ) |
Create the network from a protobuf text file on disk.
Definition at line 66 of file OnnxParser.cpp.
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.
|
static |
Definition at line 33 of file OnnxParser.cpp.
|
static |
Definition at line 45 of file OnnxParser.cpp.
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.
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.