From c1c5f2a519458f498934fa3f2074acc86f9f2f42 Mon Sep 17 00:00:00 2001 From: Matthew Bentham Date: Thu, 30 Mar 2023 14:24:46 +0000 Subject: 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 Change-Id: I8dae275a8a446d9d0e19be62684e9b3cd2fa493d --- include/armnn/backends/OptimizationViews.hpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include') 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 #include #include -#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 -- cgit v1.2.1