24.02
|
#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 IDeserializer::CreateRaw().
armnn::INetworkPtr CreateNetworkFromBinary | ( | const std::vector< uint8_t > & | binaryContent | ) |
Create the network from a protobuf binary vector.
Definition at line 53 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 58 of file OnnxParser.cpp.
armnn::INetworkPtr CreateNetworkFromBinaryFile | ( | const char * | graphFile | ) |
Create the network from a protobuf binary file on disk.
Definition at line 48 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 74 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 69 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 87 of file OnnxParser.cpp.
armnn::INetworkPtr CreateNetworkFromTextFile | ( | const char * | graphFile | ) |
Create the network from a protobuf text file on disk.
Definition at line 64 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 81 of file OnnxParser.cpp.
|
static |
Definition at line 33 of file OnnxParser.cpp.
|
static |
Definition at line 43 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 93 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 98 of file OnnxParser.cpp.