ArmNN
 24.08
NeonSliceWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2019 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/NESlice.h>
13 
14 namespace armnn
15 {
16 
17 arm_compute::Status NeonSliceWorkloadValidate(const TensorInfo& input,
18  const TensorInfo& output,
19  const SliceDescriptor& descriptor);
20 
21 class NeonSliceWorkload : public NeonBaseWorkload<SliceQueueDescriptor>
22 {
23 public:
24  NeonSliceWorkload(const SliceQueueDescriptor& descriptor, const WorkloadInfo& info);
25  virtual void Execute() const override;
26 
27 private:
28  mutable arm_compute::NESlice m_SliceFunction;
29 };
30 
31 } // namespace armnn
armnn::NeonSliceWorkload::Execute
virtual void Execute() const override
Definition: NeonSliceWorkload.cpp:60
armnn::NeonSliceWorkload
Definition: NeonSliceWorkload.hpp:21
NeonBaseWorkload.hpp
armnn::NeonSliceWorkload::NeonSliceWorkload
NeonSliceWorkload(const SliceQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonSliceWorkload.cpp:36
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::Status
Status
Definition: Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonSliceWorkloadValidate
arm_compute::Status NeonSliceWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const SliceDescriptor &descriptor)
Definition: NeonSliceWorkload.cpp:21
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13
armnn::SliceQueueDescriptor
Definition: WorkloadData.hpp:656