diff options
Diffstat (limited to 'src/armnn/layers/FullyConnectedLayer.hpp')
-rw-r--r-- | src/armnn/layers/FullyConnectedLayer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/armnn/layers/FullyConnectedLayer.hpp b/src/armnn/layers/FullyConnectedLayer.hpp index 4a9cbe1136..c45b081c85 100644 --- a/src/armnn/layers/FullyConnectedLayer.hpp +++ b/src/armnn/layers/FullyConnectedLayer.hpp @@ -16,9 +16,9 @@ class FullyConnectedLayer : public LayerWithParameters<FullyConnectedDescriptor> { 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 FullyConnected type. /// @param [in] graph The graph where this layer can be found. |