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