24 #ifndef ARM_COMPUTE_CPU_ELEMENTWISE_UNARY_KERNEL_H 25 #define ARM_COMPUTE_CPU_ELEMENTWISE_UNARY_KERNEL_H 47 const char *
name()
const override 49 return "CpuElementwiseUnaryKernel";
const char * name() const override
Name of the kernel.
CpuElementwiseUnaryKernel()
Default constructor.
const Window & window() const
The maximum window the kernel can be executed on.
Common interface for all kernels implemented in C++.
Interface for an element-wise unary operation kernel.
Store the tensor's metadata.
decltype(strategy::transforms) typedef type
static Status validate(ElementWiseUnary op, const ITensorInfo &input, const ITensorInfo &output)
Static function to check if given info will lead to a valid configuration of CpuElementwiseUnaryKerne...
Copyright (c) 2017-2021 Arm Limited.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
void configure(ElementWiseUnary op, const ITensorInfo &input, ITensorInfo &output)
Function to configure the CpuElementwiseUnaryKernel.
std::add_pointer< void(const ITensor *, ITensor *, const Window &, ElementWiseUnary)>::type ElementwiseUnaryUkernelPtr
Common signature for all the specialised elementwise unary micro-kernels.
~CpuElementwiseUnaryKernel()=default
Default destructor.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuElementwiseUnaryKernel)
ElementWiseUnary
Available element wise unary operations.
Describe a multidimensional execution window.