aboutsummaryrefslogtreecommitdiff
path: root/include/armnnOnnxParser/IOnnxParser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnnOnnxParser/IOnnxParser.hpp')
-rw-r--r--include/armnnOnnxParser/IOnnxParser.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/armnnOnnxParser/IOnnxParser.hpp b/include/armnnOnnxParser/IOnnxParser.hpp
index 89c22c03de..c0e2d745de 100644
--- a/include/armnnOnnxParser/IOnnxParser.hpp
+++ b/include/armnnOnnxParser/IOnnxParser.hpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2017,2022 Arm Ltd. All rights reserved.
+// Copyright © 2017,2022,2024 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
@@ -23,11 +23,14 @@ using IOnnxParserPtr = std::unique_ptr<IOnnxParser, void(*)(IOnnxParser* parser)
class IOnnxParser
{
public:
+ ARMNN_DEPRECATED_MSG_REMOVAL_DATE("The ONNX Parser will be removed from Arm NN in 24.08", "24.08")
static IOnnxParser* CreateRaw();
+ ARMNN_DEPRECATED_MSG_REMOVAL_DATE("The ONNX Parser will be removed from Arm NN in 24.08", "24.08")
static IOnnxParserPtr Create();
static void Destroy(IOnnxParser* parser);
/// Create the network from a protobuf binary vector
+ ARMNN_DEPRECATED_MSG_REMOVAL_DATE("The ONNX Parser will be removed from Arm NN in 24.08", "24.08")
armnn::INetworkPtr CreateNetworkFromBinary(const std::vector<uint8_t>& binaryContent);
/// Create the network from a protobuf binary vector, with inputShapes specified
@@ -35,24 +38,30 @@ public:
const std::map<std::string, armnn::TensorShape>& inputShapes);
/// Create the network from a protobuf binary file on disk
+ ARMNN_DEPRECATED_MSG_REMOVAL_DATE("The ONNX Parser will be removed from Arm NN in 24.08", "24.08")
armnn::INetworkPtr CreateNetworkFromBinaryFile(const char* graphFile);
/// Create the network from a protobuf text file on disk
+ ARMNN_DEPRECATED_MSG_REMOVAL_DATE("The ONNX Parser will be removed from Arm NN in 24.08", "24.08")
armnn::INetworkPtr CreateNetworkFromTextFile(const char* graphFile);
/// Create the network directly from protobuf text in a string. Useful for debugging/testing
+ ARMNN_DEPRECATED_MSG_REMOVAL_DATE("The ONNX Parser will be removed from Arm NN in 24.08", "24.08")
armnn::INetworkPtr CreateNetworkFromString(const std::string& protoText);
/// Create the network from a protobuf binary file on disk, with inputShapes specified
+ ARMNN_DEPRECATED_MSG_REMOVAL_DATE("The ONNX Parser will be removed from Arm NN in 24.08", "24.08")
armnn::INetworkPtr CreateNetworkFromBinaryFile(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_DEPRECATED_MSG_REMOVAL_DATE("The ONNX Parser will be removed from Arm NN in 24.08", "24.08")
armnn::INetworkPtr CreateNetworkFromTextFile(const char* graphFile,
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
+ ARMNN_DEPRECATED_MSG_REMOVAL_DATE("The ONNX Parser will be removed from Arm NN in 24.08", "24.08")
armnn::INetworkPtr CreateNetworkFromString(const std::string& protoText,
const std::map<std::string, armnn::TensorShape>& inputShapes);