aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Bentham <Matthew.Bentham@arm.com>2023-03-30 14:24:46 +0000
committerFrancis Murtagh <francis.murtagh@arm.com>2023-04-04 15:08:45 +0000
commitc1c5f2a519458f498934fa3f2074acc86f9f2f42 (patch)
tree74e51e323982d4aa146838520d204711c11402ed /include
parent6c50b8ead459b77932408bd3920b7704a4d6235c (diff)
downloadarmnn-c1c5f2a519458f498934fa3f2074acc86f9f2f42.tar.gz
Remove GetGraph and include of Graph.hpp header from public header
Remove deprecated GetGraph() from OptimizationViews. This method has been deprecated for a long time and no backends still need it. Remove include of Graph.hpp from the public headers. Add includes elsewhere to deal with the header fallout. Signed-off-by: Matthew Bentham <matthew.bentham@arm.com> Change-Id: I8dae275a8a446d9d0e19be62684e9b3cd2fa493d
Diffstat (limited to 'include')
-rw-r--r--include/armnn/backends/OptimizationViews.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/armnn/backends/OptimizationViews.hpp b/include/armnn/backends/OptimizationViews.hpp
index 59d71ca560..6f27345ca4 100644
--- a/include/armnn/backends/OptimizationViews.hpp
+++ b/include/armnn/backends/OptimizationViews.hpp
@@ -10,7 +10,6 @@
#include <armnn/INetwork.hpp>
#include <armnn/backends/SubgraphView.hpp>
#include <vector>
-#include "Graph.hpp"
namespace armnn
{
@@ -61,9 +60,6 @@ public:
bool Validate(const SubgraphView& originalSubgraph) const;
- ARMNN_DEPRECATED_MSG_REMOVAL_DATE("GetGraph is deprecated. Use GetINetwork instead.", "23.08")
- Graph& GetGraph() { return m_Graph; }
-
INetwork* GetINetwork() { return m_INetwork.get(); }
INetwork& GetINetworkRef() { return *m_INetwork; }
@@ -72,9 +68,6 @@ private:
Subgraphs m_FailedOptimizations; ///< Subgraphs from the original subgraph which cannot be supported
Subgraphs m_UntouchedSubgraphs; ///< Subgraphs from the original subgraph which remain unmodified
- /// Graph object used only as a container for any layer generated by the optimization process
- Graph m_Graph;
-
/// INetworkPtr object used only as a container for any layer generated by the optimization process
/// Also, can use to AddPrecompiledLayer to the SubstitutionPair
/// Use in favour of m_Graph which depreciates in 23.08