blob: 078c4d140f2f87653dc9abcc0e800ee81aa641cf [file] [log] [blame]
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#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 NeonL2NormalizationFloatWorkload : public FloatWorkload<L2NormalizationQueueDescriptor>
{
public:
NeonL2NormalizationFloatWorkload(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