From aeec3ce5c8f936fb1220a9de8c84cceef88d4080 Mon Sep 17 00:00:00 2001 From: Matthew Bentham Date: Thu, 23 Feb 2023 13:03:46 +0000 Subject: Add constant version of IConnectableLayer::GetConstantTensorsByRef This makes it easier to use, particularly in backends where it is common to pass around const pointers to IConnectableLayer. The non-constant version is rewritten to use the constant version. Signed-off-by: Matthew Bentham Change-Id: Id3a8384447e93c213299a85ade9a667df5960534 --- src/armnn/layers/DepthwiseConvolution2dLayer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/armnn/layers/DepthwiseConvolution2dLayer.hpp') diff --git a/src/armnn/layers/DepthwiseConvolution2dLayer.hpp b/src/armnn/layers/DepthwiseConvolution2dLayer.hpp index ef7410f1d3..d69d779721 100644 --- a/src/armnn/layers/DepthwiseConvolution2dLayer.hpp +++ b/src/armnn/layers/DepthwiseConvolution2dLayer.hpp @@ -56,7 +56,7 @@ protected: /// Retrieve the handles to the constant values connected to the layer. /// @return A vector of the constant tensors connected to the layer. - ConstantTensors GetConstantTensorsByRef() override; + ImmutableConstantTensors GetConstantTensorsByRef() const override; }; } // namespace -- cgit v1.2.1