ArmNN
 24.02
ClStridedSliceWorkload.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 <armnn/Tensor.hpp>
9 #include <armnn/Descriptors.hpp>
10 
11 #include "ClBaseWorkload.hpp"
12 
13 #include <arm_compute/runtime/CL/functions/CLStridedSlice.h>
14 
15 namespace armnn
16 {
17 
19  const TensorInfo& output,
20  const StridedSliceDescriptor& descriptor);
21 
22 class ClStridedSliceWorkload : public ClBaseWorkload<StridedSliceQueueDescriptor>
23 {
24 public:
26  const WorkloadInfo& info,
27  const arm_compute::CLCompileContext& clCompileContext);
28  void Execute() const override;
29 
30 private:
31  mutable arm_compute::CLStridedSlice m_StridedSliceLayer;
32 };
33 
34 } //namespace armnn
Descriptors.hpp
armnn::ClStridedSliceWorkloadValidate
arm_compute::Status ClStridedSliceWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const StridedSliceDescriptor &descriptor)
Definition: ClStridedSliceWorkload.cpp:27
armnn::ClBaseWorkload
Definition: ClBaseWorkload.hpp:13
armnn::ClStridedSliceWorkload::ClStridedSliceWorkload
ClStridedSliceWorkload(const StridedSliceQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Definition: ClStridedSliceWorkload.cpp:55
armnn::StridedSliceQueueDescriptor
Definition: WorkloadData.hpp:467
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::ClStridedSliceWorkload::Execute
void Execute() const override
Definition: ClStridedSliceWorkload.cpp:102
armnn::BoostLogSeverityMapping::info
@ info
Tensor.hpp
armnn::Status
Status
Definition: Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::ClStridedSliceWorkload
Definition: ClStridedSliceWorkload.hpp:22
ClBaseWorkload.hpp