24 #ifndef ARM_COMPUTE_NE_STRIDED_SLICE_KERNEL_H 25 #define ARM_COMPUTE_NE_STRIDED_SLICE_KERNEL_H 41 const char *
name()
const override 43 return "NEStridedSliceKernel";
73 int32_t begin_mask, int32_t end_mask, int32_t shrink_axis_mask);
91 int32_t begin_mask, int32_t end_mask, 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 NEStridedSliceKernel.
NEStridedSliceKernel & operator=(const NEStridedSliceKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
const Window & window() const
The maximum window the kernel can be executed on.
const char * name() const override
Name of the kernel.
Common interface for all kernels implemented in C++.
Store the tensor's metadata.
Copyright (c) 2017-2023 Arm Limited.
~NEStridedSliceKernel()=default
Default destructor.
Interface for the kernel to perform tensor strided slicing.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
NEStridedSliceKernel()
Default constructor.
void configure(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.
Describe a multidimensional execution window.