From d86f6c4697e0c1511c553e76e0e59b72a5730fac Mon Sep 17 00:00:00 2001 From: Francis Murtagh Date: Mon, 9 May 2022 17:00:21 +0100 Subject: IVGCVSW-6145 ConstTensorsAsInput: Optimizer Fix - GetConstantTensorsByRef * Add functionality to check for ConstantTensorsAsInputs to GetConstantTensorsByRef * Reorder optimizations so RedirectMembersToConstantInputs occurs after Conversion of Constants * Ensure graph is in topological order after loading in OptimizedNet * Fixed test to check release of m_LayerOutputs. Signed-off-by: Francis Murtagh Change-Id: I7cff50798d7217e8ea0d2f9b153eabd10174a566 --- src/armnn/Graph.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/armnn/Graph.hpp') diff --git a/src/armnn/Graph.hpp b/src/armnn/Graph.hpp index 5edf34c179..4623461302 100644 --- a/src/armnn/Graph.hpp +++ b/src/armnn/Graph.hpp @@ -229,6 +229,8 @@ public: const std::shared_ptr& GetProfiler() const; + void SetLayersOutOfOrder(); + private: template class LayerInGraphBase; -- cgit v1.2.1