23.08
|
Go to the documentation of this file.
38 auto k = std::make_unique<KernelType>();
40 _kernel = std::move(
k);
50 if(_kernel->is_window_configured())
static Status validate(ElementWiseUnary op, const ITensorInfo &src, const ITensorInfo &dst)
Static function to check if given info will lead to a valid configuration.
SimpleTensor< float > src
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
const ITensor * get_const_tensor(int id) const
Get constant tensor of a given id.
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.
void run(ITensorPack &tensors) override
Run the kernels contained in the function.
void run(ITensorPack &tensors) override
Run the kernels contained in the function.
Copyright (c) 2017-2023 Arm Limited.
TensorInfo src_info(src_shape, 1, data_type)
Store the tensor's metadata.
Interface for an element-wise unary operation kernel.
#define ARM_COMPUTE_LOG_PARAMS(...)
const TensorShape & tensor_shape() const override
Size for each dimension of the tensor.
ElementWiseUnary
Available element wise unary operations.