diff options
author | James Conroy <james.conroy@arm.com> | 2021-04-27 17:13:27 +0100 |
---|---|---|
committer | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2021-05-06 14:40:40 +0000 |
commit | 1f58f03d82c482626b1b4673b6c0e25da4338fb5 (patch) | |
tree | e92451e00d459a2fc0d870694460f482aa4c77ae /src/armnn/layers/BatchNormalizationLayer.hpp | |
parent | a7a12f5c3654da554ad6197beff0f0fc54681c92 (diff) | |
download | armnn-1f58f03d82c482626b1b4673b6c0e25da4338fb5.tar.gz |
IVGCVSW-5815 Generalise ConstCpuTensorHandle
* Generalises ConstCpuTensorHandle and inherited
classes by removing 'Cpu' from aliases.
* New renamed classes: ConstTensorHandle, TensorHandle,
ScopedTensorHandle, PassthroughTensorHandle,
ConstPassthroughTensorHandle.
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I1824e0e134202735fb77051f20a7252f161dfe16
Diffstat (limited to 'src/armnn/layers/BatchNormalizationLayer.hpp')
-rw-r--r-- | src/armnn/layers/BatchNormalizationLayer.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/armnn/layers/BatchNormalizationLayer.hpp b/src/armnn/layers/BatchNormalizationLayer.hpp index bf9e4b7917..2777633a34 100644 --- a/src/armnn/layers/BatchNormalizationLayer.hpp +++ b/src/armnn/layers/BatchNormalizationLayer.hpp @@ -9,20 +9,20 @@ namespace armnn { -class ScopedCpuTensorHandle; +class ScopedTensorHandle; /// This layer represents a batch normalization operation. class BatchNormalizationLayer : public LayerWithParameters<BatchNormalizationDescriptor> { public: /// A unique pointer to store Mean values - std::shared_ptr<ConstCpuTensorHandle> m_Mean; + std::shared_ptr<ConstTensorHandle> m_Mean; /// A unique pointer to store Variance values - std::shared_ptr<ConstCpuTensorHandle> m_Variance; + std::shared_ptr<ConstTensorHandle> m_Variance; /// A unique pointer to store Beta values - std::shared_ptr<ConstCpuTensorHandle> m_Beta; + std::shared_ptr<ConstTensorHandle> m_Beta; /// A unique pointer to store Gamma values - std::shared_ptr<ConstCpuTensorHandle> m_Gamma; + std::shared_ptr<ConstTensorHandle> m_Gamma; /// Makes a workload for the BatchNormalization type. /// @param [in] graph The graph where this layer can be found. |