23.08
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CL_STRIDED_SLICE_H
25 #define ARM_COMPUTE_CL_STRIDED_SLICE_H
79 int32_t begin_mask = 0, int32_t end_mask = 0, int32_t shrink_axis_mask = 0);
97 int32_t begin_mask = 0, int32_t end_mask = 0, int32_t shrink_axis_mask = 0);
115 int32_t begin_mask = 0, int32_t end_mask = 0, int32_t shrink_axis_mask = 0);
122 std::unique_ptr<Impl> _impl;
125 namespace experimental
148 int32_t begin_mask = 0, int32_t end_mask = 0, int32_t shrink_axis_mask = 0);
166 int32_t begin_mask = 0, int32_t end_mask = 0, 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-2023 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.