blob: 6f6031ef77745d1aec93570775337818c44fee16 [file] [log] [blame]
//
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <backendsCommon/Workload.hpp>
#include <arm_compute/core/Error.h>
#include <arm_compute/runtime/NEON/functions/NEElementwiseUnaryLayer.h>
namespace armnn
{
arm_compute::Status NeonRsqrtWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
class NeonRsqrtWorkload : public BaseWorkload<RsqrtQueueDescriptor>
{
public:
NeonRsqrtWorkload(const RsqrtQueueDescriptor& descriptor, const WorkloadInfo& info);
virtual void Execute() const override;
private:
mutable arm_compute::NERsqrtLayer m_RsqrtLayer;
};
} // namespace armnn