23.11
|
As above but this also initializes to zero the input tensor. More...
#include <Helper.h>
Public Member Functions | |
template<typename T , typename... Args> | |
void | configure (T first, T second, Args &&... args) |
Configure the kernel. More... | |
void | run (ITensorPack &tensors) override final |
Run the kernels contained in the function. More... | |
![]() | |
ICLOperator (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
ICLOperator (const ICLOperator &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLOperator (ICLOperator &&)=default | |
Default move constructor. More... | |
ICLOperator & | operator= (const ICLOperator &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLOperator & | operator= (ICLOperator &&)=default |
Default move assignment operator. More... | |
void | prepare (ITensorPack &constants) override |
Prepare the function for executing. More... | |
MemoryRequirements | workspace () const override |
Return the memory requirements required by the workspace. More... | |
![]() | |
virtual | ~IOperator ()=default |
Destructor. More... | |
As above but this also initializes to zero the input tensor.
|
inline |
Configure the kernel.
[in] | first | First input argument. |
[in] | second | Second input argument. |
[in] | args | Rest of the configuration arguments. |
Definition at line 96 of file Helper.h.
References GemmTuner::args, ClFill::configure(), CLFillBorderKernel::configure(), arm_compute::CONSTANT, CLKernelLibrary::get(), CLScheduler::get(), and CLKernelLibrary::get_compile_context().
|
inlinefinaloverridevirtual |
Run the kernels contained in the function.
[in] | tensors | Vector that contains the tensors to operate on. |
Reimplemented from ICLOperator.
Definition at line 108 of file Helper.h.
References arm_compute::ACL_DST, arm_compute::ACL_SRC, ARM_COMPUTE_ERROR_ON_MSG, CLScheduler::enqueue_op(), CLScheduler::get(), and ICLOperator::run().