24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CL_STRIDED_SLICE_H
25 #define ARM_COMPUTE_CL_STRIDED_SLICE_H
82 int32_t begin_mask = 0,
84 int32_t shrink_axis_mask = 0);
106 int32_t begin_mask = 0,
107 int32_t end_mask = 0,
108 int32_t shrink_axis_mask = 0);
129 int32_t begin_mask = 0,
130 int32_t end_mask = 0,
131 int32_t shrink_axis_mask = 0);
138 std::unique_ptr<Impl> _impl;
141 namespace experimental
168 int32_t begin_mask = 0,
169 int32_t end_mask = 0,
170 int32_t shrink_axis_mask = 0);
191 int32_t begin_mask = 0,
192 int32_t end_mask = 0,
193 int32_t shrink_axis_mask = 0);
Base class for all functions.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, int32_t begin_mask=0, int32_t end_mask=0, int32_t shrink_axis_mask=0)
Static function to check if given info will lead to a valid configuration of CLStridedSlice.
Interface for OpenCL tensor.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, int32_t begin_mask=0, int32_t end_mask=0, int32_t shrink_axis_mask=0)
Static function to check if given info will lead to a valid configuration of CLStridedSlice.
Basic interface for functions which have a single async CL kernel.
CLStridedSlice(CLRuntimeContext *ctx=nullptr)
Constructor.
CLStridedSlice & operator=(const CLStridedSlice &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Copyright (c) 2017-2024 Arm Limited.
void run() override
Run the kernels contained in the function.
Store the tensor's metadata.
Basic function to run CLStridedSliceKernel.
void configure(const ICLTensor *input, ICLTensor *output, const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, int32_t begin_mask=0, int32_t end_mask=0, int32_t shrink_axis_mask=0)
Configure kernel.
Basic function to run CLStridedSliceKernel.
void configure(const CLCompileContext &compile_context, const ITensorInfo *input, ITensorInfo *output, const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, int32_t begin_mask=0, int32_t end_mask=0, int32_t shrink_axis_mask=0)
Configure kernel.
~CLStridedSlice()
Destructor.