ArmNN
 24.08
NeonStridedSliceWorkload.hpp
Go to the documentation of this file.
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 
21  const TensorInfo& output,
22  const StridedSliceDescriptor& descriptor);
23 
24 class NeonStridedSliceWorkload : public NeonBaseWorkload<StridedSliceQueueDescriptor>
25 {
26 public:
28  virtual void Execute() const override;
29 
30 private:
31  mutable std::unique_ptr<arm_compute::NEStridedSlice> m_Layer;
32 };
33 
34 } //namespace armnn
armnn::NeonStridedSliceWorkload
Definition: NeonStridedSliceWorkload.hpp:24
NeonBaseWorkload.hpp
armnn::StridedSliceQueueDescriptor
Definition: WorkloadData.hpp:467
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::NeonStridedSliceWorkload::Execute
virtual void Execute() const override
Definition: NeonStridedSliceWorkload.cpp:96
armnn::NeonStridedSliceWorkload::NeonStridedSliceWorkload
NeonStridedSliceWorkload(const StridedSliceQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonStridedSliceWorkload.cpp:51
armnn::BoostLogSeverityMapping::info
@ info
armnn::Status
Status
Definition: Types.hpp:42
armnn::NeonStridedSliceWorkloadValidate
arm_compute::Status NeonStridedSliceWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const StridedSliceDescriptor &descriptor)
Definition: NeonStridedSliceWorkload.cpp:19
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13