35 auto k = std::make_unique<KernelType>();
36 k->configure(op, src, dst);
37 _kernel = std::move(k);
Interface for an element-wise unary operation kernel.
Store the tensor's metadata.
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...
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
static Status validate(ElementWiseUnary op, const ITensorInfo &src, const ITensorInfo &dst)
Static function to check if given info will lead to a valid configuration.
void configure(ElementWiseUnary op, const ITensorInfo &src, ITensorInfo &dst)
Initialize the function.
ElementWiseUnary
Available element wise unary operations.