aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/DepthwiseConvolution2dLayer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/DepthwiseConvolution2dLayer.hpp')
-rw-r--r--src/armnn/layers/DepthwiseConvolution2dLayer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/armnn/layers/DepthwiseConvolution2dLayer.hpp b/src/armnn/layers/DepthwiseConvolution2dLayer.hpp
index 7388cbcd8e..c83aa434d5 100644
--- a/src/armnn/layers/DepthwiseConvolution2dLayer.hpp
+++ b/src/armnn/layers/DepthwiseConvolution2dLayer.hpp
@@ -16,9 +16,9 @@ class DepthwiseConvolution2dLayer : public LayerWithParameters<DepthwiseConvolut
{
public:
/// A unique pointer to store Weight values.
- std::unique_ptr<ScopedCpuTensorHandle> m_Weight;
+ std::shared_ptr<ConstCpuTensorHandle> m_Weight;
/// A unique pointer to store Bias values.
- std::unique_ptr<ScopedCpuTensorHandle> m_Bias;
+ std::shared_ptr<ConstCpuTensorHandle> m_Bias;
/// Makes a workload for the DepthwiseConvolution2d type.
/// @param [in] graph The graph where this layer can be found.