diff options
Diffstat (limited to 'src/armnn')
-rw-r--r-- | src/armnn/ISubgraphViewConverter.hpp | 7 | ||||
-rw-r--r-- | src/armnn/SubgraphView.hpp | 5 |
2 files changed, 12 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 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 |