| // |
| // Copyright © 2017 Arm Ltd. All rights reserved. |
| // See LICENSE file in the project root for full license information. |
| // |
| |
| #pragma once |
| |
| #include <backends/NeonWorkloadUtils.hpp> |
| |
| #include "arm_compute/runtime/MemoryManagerOnDemand.h" |
| |
| #include <memory> |
| |
| namespace armnn |
| { |
| |
| arm_compute::Status NeonL2NormalizationWorkloadValidate(const TensorInfo& input, |
| const TensorInfo& output); |
| |
| class NeonL2NormalizationFloat32Workload : public FloatWorkload<L2NormalizationQueueDescriptor> |
| { |
| public: |
| NeonL2NormalizationFloat32Workload(const L2NormalizationQueueDescriptor& descriptor, const WorkloadInfo& info, |
| std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager); |
| virtual void Execute() const override; |
| |
| private: |
| // Purposely not a NEL2Normalize function. See constructor. |
| mutable arm_compute::NENormalizationLayer m_Layer; |
| }; |
| |
| } //namespace armnn |
| |