diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2022-02-01 16:42:15 +0000 |
---|---|---|
committer | Nikhil Raj Arm <nikhil.raj@arm.com> | 2022-02-03 14:36:14 +0000 |
commit | 2e24175c683bca42496104591d6b702dad360b8e (patch) | |
tree | 1802062ab9132e3196e76b083b1a7b2b6c6efd11 /src/armnn/Layer.hpp | |
parent | ab8a4465ba32cb00ad05d63abfd2e60c307edc51 (diff) | |
download | armnn-2e24175c683bca42496104591d6b702dad360b8e.tar.gz |
IVGCVSW-6724 Accessing ConstTensors from IConnectableLayer
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I01f42a520d15c6dabd2f77c7715c91b8f7026476
Diffstat (limited to 'src/armnn/Layer.hpp')
-rw-r--r-- | src/armnn/Layer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/armnn/Layer.hpp b/src/armnn/Layer.hpp index ecfa1d9a5b..23aa86a414 100644 --- a/src/armnn/Layer.hpp +++ b/src/armnn/Layer.hpp @@ -394,8 +394,8 @@ protected: LayerType* CloneBase(Graph& graph, Params&& ... params) const; // Retrieve the Handles to the constants - using ConstantTensors = std::vector<std::reference_wrapper<std::shared_ptr<ConstTensorHandle>>>; - virtual ConstantTensors GetConstantTensorsByRef() {return ConstantTensors(); }; + // Marking this as override and having this here keeps IConnectable abstract with only pure virtual function + virtual ConstantTensors GetConstantTensorsByRef() override {return ConstantTensors(); }; // "Blob" AdditionalInfoObjectPtr m_AdditionalInfoObject; |