23.11
|
Go to the documentation of this file.
43 auto k = std::make_unique<kernels::CpuAddKernel>();
44 k->configure(src0, src1,
dst, policy);
45 _kernel = std::move(k);
60 const auto split_dimension =
static_cast<kernels::CpuAddKernel *
>(_kernel.get())->get_split_dimension();
virtual void schedule_op(ICPPKernel *kernel, const Hints &hints, const Window &window, ITensorPack &tensors)=0
Runs the kernel in the same thread as the caller synchronously.
Activation Layer Information class.
static Status validate(const ITensorInfo *src0, const ITensorInfo *src1, const ITensorInfo *dst, ConvertPolicy policy, const ActivationLayerInfo &act_info=ActivationLayerInfo())
Static function to check if given info will lead to a valid configuration.
#define ARM_COMPUTE_RETURN_ERROR_ON(cond)
If the condition is true, an error is returned.
static IScheduler & get()
Access the scheduler singleton.
void run(ITensorPack &tensors) override
Run the kernels contained in the function.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
Copyright (c) 2017-2023 Arm Limited.
ConvertPolicy
Policy to handle integer overflow.
static Status validate(const ITensorInfo *src0, const ITensorInfo *src1, const ITensorInfo *dst, ConvertPolicy policy)
Static function to check if given info will lead to a valid configuration.
Store the tensor's metadata.
Interface for the kernel to perform addition between two tensors.
#define ARM_COMPUTE_LOG_PARAMS(...)
void configure(const ITensorInfo *src0, const ITensorInfo *src1, ITensorInfo *dst, ConvertPolicy policy, const ActivationLayerInfo &act_info=ActivationLayerInfo())
Initialise the kernel's input, dst and border mode.