24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CL_STRIDED_SLICE_KERNEL_H
25 #define ARM_COMPUTE_CL_STRIDED_SLICE_KERNEL_H
65 int32_t shrink_axis_mask);
88 int32_t shrink_axis_mask);
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, int32_t begin_mask, int32_t end_mask, int32_t shrink_axis_mask)
Static function to check if given info will lead to a valid configuration of CLStridedSliceKernel.
Interface for the kernel to perform tensor strided slicing.
void configure(const CLCompileContext &compile_context, const ITensorInfo *input, ITensorInfo *output, const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, int32_t begin_mask, int32_t end_mask, int32_t shrink_axis_mask)
Configure kernel.
Common interface for all the OpenCL kernels.
CLStridedSliceKernel()
Default constructor.
const Window & window() const
The maximum window the kernel can be executed on.
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
void run_op(ITensorPack &tensors, const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue.