diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-05-22 14:28:16 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-05-22 16:00:33 +0100 |
commit | c3ba50e5e6e96ae057ccdb3761bf41a5691a53f0 (patch) | |
tree | d5750497300baf12f5958a021e887d375771d436 /src/armnn/ISubgraphViewConverter.hpp | |
parent | 38a92584d5ac242e47a2fe1b6fee1cb136d51279 (diff) | |
download | armnn-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/ISubgraphViewConverter.hpp')
-rw-r--r-- | src/armnn/ISubgraphViewConverter.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/armnn/ISubgraphViewConverter.hpp b/src/armnn/ISubgraphViewConverter.hpp index 4b2c10298d..34789a2b28 100644 --- a/src/armnn/ISubgraphViewConverter.hpp +++ b/src/armnn/ISubgraphViewConverter.hpp @@ -5,6 +5,8 @@ #pragma once +#include <armnn/Deprecated.hpp> + #include <memory> #include <vector> #include <functional> @@ -23,4 +25,9 @@ public: virtual std::vector<CompiledBlobPtr> CompileNetwork() = 0; }; +/// +/// Old ISubGraphConverter definition kept for backward compatibility only. +/// +using ISubGraphConverter ARMNN_DEPRECATED_MSG("This type is no longer supported") = ISubgraphViewConverter; + } // namespace armnn |