1 // 2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. 3 // SPDX-License-Identifier: MIT 4 // 5 6 #pragma once 7 8 #include <armnn/backends/WorkloadData.hpp> 9 #include "NeonBaseWorkload.hpp" 10 #include <arm_compute/runtime/IFunction.h> 11 #include <arm_compute/core/Error.h> 12 13 namespace armnn { 14 15 class NeonPadWorkload : public NeonBaseWorkload<PadQueueDescriptor> 16 { 17 public: 18 NeonPadWorkload(const PadQueueDescriptor& descriptor, const WorkloadInfo& info); 19 20 void Execute() const override; 21 22 private: 23 std::unique_ptr<arm_compute::IFunction> m_Layer; 24 }; 25 26 arm_compute::Status NeonPadWorkloadValidate(const TensorInfo& input, 27 const TensorInfo& output, 28 const PadDescriptor& descriptor); 29 30 } //namespace armnn 31