24 #ifndef ARM_COMPUTE_NERANGEKERNEL_H 25 #define ARM_COMPUTE_NERANGEKERNEL_H 42 const char *
name()
const override 44 return "NERangeKernel";
81 using RangeFunction = void(
ITensor *output,
float start,
float step,
const Window &window);
const Window & window() const
The maximum window the kernel can be executed on.
Common interface for all kernels implemented in C++.
NERangeKernel & operator=(const NERangeKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
void configure(ITensor *output, float start, float end, float step)
Initialize the kernel's output tensor, start, end and step of the sequence.
Store the tensor's metadata.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
static Status validate(const ITensorInfo *output, float start, float end, float step)
Static function to check if given info will lead to a valid configuration of NERangeKernel.
~NERangeKernel()=default
Default destructor.
void end(TokenStream &in, bool &valid)
void run(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.
const char * name() const override
Name of the kernel.
Describe a multidimensional execution window.
NERangeKernel()
Default constructor.