24 #ifndef ARM_COMPUTE_CPU_ACTIVATION_KERNEL_H 25 #define ARM_COMPUTE_CPU_ACTIVATION_KERNEL_H 65 const char *
name()
const override;
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuActivationKernel)
const Window & window() const
The maximum window the kernel can be executed on.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
void configure(const ITensorInfo *src, ITensorInfo *dst, ActivationLayerInfo activation_info)
Configure kernel for a given list of arguments.
CpuActivationKernel()=default
Common interface for all kernels implemented in C++.
Store the tensor's metadata.
Activation Layer Information class.
SimpleTensor< float > src
const char * name() const override
Name of the kernel.
Copyright (c) 2017-2021 Arm Limited.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const ActivationLayerInfo &act_info)
Static function to check if given info will lead to a valid configuration of CpuActivationKernel.
Interface for the activation kernel.
Describe a multidimensional execution window.