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/backends/reference/RefBackend.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/backends/reference/RefBackend.hpp')
-rw-r--r-- | src/backends/reference/RefBackend.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backends/reference/RefBackend.hpp b/src/backends/reference/RefBackend.hpp index af756e8dab..06179bd939 100644 --- a/src/backends/reference/RefBackend.hpp +++ b/src/backends/reference/RefBackend.hpp @@ -28,8 +28,7 @@ public: IBackendInternal::Optimizations GetOptimizations() const override; IBackendInternal::ILayerSupportSharedPtr GetLayerSupport() const override; - IBackendInternal::SubgraphViewUniquePtr OptimizeSubgraphView(const SubgraphView& subgraph, - bool& optimizationAttempted) const override; + OptimizationViews OptimizeSubgraphView(const SubgraphView& subgraph) const override; }; } // namespace armnn |