21.02
|
#include <IOnnxParser.hpp>
Public Member Functions | |
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... | |
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 36 of file OnnxParser.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
armnn::INetworkPtr CreateNetworkFromBinaryFile | ( | const char * | graphFile | ) |
Create the network from a protobuf binary file on disk.
Definition at line 46 of file OnnxParser.cpp.
References IOnnxParser::CreateNetworkFromBinaryFile().
Referenced by IOnnxParser::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 56 of file OnnxParser.cpp.
armnn::INetworkPtr CreateNetworkFromTextFile | ( | const char * | graphFile | ) |
Create the network from a protobuf text file on disk.
Definition at line 51 of file OnnxParser.cpp.
|
static |
Definition at line 31 of file OnnxParser.cpp.
|
static |
Definition at line 41 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 61 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 66 of file OnnxParser.cpp.
References CheckLocation::AsString().