21 using IOnnxParserPtr = std::unique_ptr<IOnnxParser, void(*)(IOnnxParser* parser)>;
41 const std::map<std::string, armnn::TensorShape>& inputShapes);
45 const std::map<std::string, armnn::TensorShape>& inputShapes);
50 const std::map<std::string, armnn::TensorShape>& inputShapes);
62 std::unique_ptr<OnnxParserImpl> pOnnxParserImpl;
static IOnnxParser * CreateRaw()
armnn::INetworkPtr CreateNetworkFromString(const std::string &protoText)
Create the network directly from protobuf text in a string. Useful for debugging/testing.
BindingPointInfo GetNetworkInputBindingInfo(const std::string &name) const
Retrieve binding info (layer id and tensor info) for the network input identified by the given layer ...
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.
static void Destroy(IOnnxParser *parser)
std::pair< armnn::LayerBindingId, armnn::TensorInfo > BindingPointInfo
static IOnnxParserPtr Create()
BindingPointInfo GetNetworkOutputBindingInfo(const std::string &name) const
Retrieve binding info (layer id and tensor info) for the network output identified by the given layer...
std::unique_ptr< INetwork, void(*)(INetwork *network)> INetworkPtr
armnn::BindingPointInfo BindingPointInfo
std::unique_ptr< IOnnxParser, void(*)(IOnnxParser *parser)> IOnnxParserPtr