24 #ifndef ARM_COMPUTE_CPU_ACTIVATION_KERNEL_H 25 #define ARM_COMPUTE_CPU_ACTIVATION_KERNEL_H 70 size_t get_mws(
const CPUInfo &platform,
size_t thread_count)
const override;
74 const char *
name()
const override;
87 ActivationKernelPtr _run_method{
nullptr };
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
static const std::vector< ActivationKernel > & get_available_kernels()
Store the tensor's metadata.
Activation Layer Information class.
decltype(strategy::transforms) typedef type
SimpleTensor< float > src
const char * name() const override
Name of the kernel.
Copyright (c) 2017-2022 Arm Limited.
ActivationKernelPtr ukernel
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
std::add_pointer< bool(const DataTypeISASelectorData &data)>::type DataTypeISASelectorPtr
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.
Interface for the activation kernel.
size_t get_mws(const CPUInfo &platform, size_t thread_count) const override
Return minimum workload size of the relevant kernel.
Describe a multidimensional execution window.
const DataTypeISASelectorPtr is_selected