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