34 auto k = std::make_unique<kernels::CpuActivationKernel>();
35 k->configure(input, output, activation_info);
36 _kernel = std::move(k);
void configure(const ITensorInfo *input, ITensorInfo *output, const ActivationLayerInfo &activation_info)
Configure operator for a given list of arguments.
Store the tensor's metadata.
Activation Layer Information class.
Copyright (c) 2017-2021 Arm Limited.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const ActivationLayerInfo &act_info)
Static function to check if given info will lead to a valid configuration of CpuActivation.
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.