aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/SubgraphView.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-05-22 14:28:16 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-05-22 16:00:33 +0100
commitc3ba50e5e6e96ae057ccdb3761bf41a5691a53f0 (patch)
treed5750497300baf12f5958a021e887d375771d436 /src/armnn/SubgraphView.hpp
parent38a92584d5ac242e47a2fe1b6fee1cb136d51279 (diff)
downloadarmnn-c3ba50e5e6e96ae057ccdb3761bf41a5691a53f0.tar.gz
IVGCVSW-3132 Reintroduce SubGraph definition, but deprecated
* Restored old SubGraph class definition as an alias of SubgraphView for backward compatibility * Restored SubGraphUniquePtr * Restored CreateSubGraphConverter method (and the corresponding ISubGraphConverterPtr type) as a deprecated method that's been removed from the backend interface * Chaged the defautl implementation of OptimizeSubgraphView to call the deprecated OptimizeSubGraph * Changed the default implementation of OptimizeSubgraphView in the backends Change-Id: If69903926bf5ff2aae52c9b64b4572b355662757 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'src/armnn/SubgraphView.hpp')
-rw-r--r--src/armnn/SubgraphView.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/armnn/SubgraphView.hpp b/src/armnn/SubgraphView.hpp
index f29e0a18ae..1b9c308daa 100644
--- a/src/armnn/SubgraphView.hpp
+++ b/src/armnn/SubgraphView.hpp
@@ -96,4 +96,9 @@ private:
Layers m_Layers;
};
+///
+/// Old SubGraph definition kept for backward compatibility only.
+///
+using SubGraph ARMNN_DEPRECATED_MSG("SubGraph is deprecated, use SubgraphView instead") = SubgraphView;
+
} // namespace armnn