blob: 2050d428590191762324b5d6d0d043b292231947 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once
#include <backends/NeonWorkloadUtils.hpp>
namespace armnn
{
class NeonBatchNormalizationFloat32Workload : public Float32Workload<BatchNormalizationQueueDescriptor>
{
public:
NeonBatchNormalizationFloat32Workload(const BatchNormalizationQueueDescriptor& descriptor,
const WorkloadInfo& info);
virtual void Execute() const override;
private:
mutable arm_compute::NEBatchNormalizationLayer m_Layer;
arm_compute::Tensor m_Mean;
arm_compute::Tensor m_Variance;
arm_compute::Tensor m_Gamma;
arm_compute::Tensor m_Beta;
};
} //namespace armnn
|