21.02
|
Basic function to run cpu::kernels::CpuFillKernel. More...
#include <NEFill.h>
Public Member Functions | |
NEFill () | |
Default Constructor. More... | |
~NEFill () | |
Default Destructor. More... | |
NEFill (const NEFill &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEFill (NEFill &&) | |
Default move constructor. More... | |
NEFill & | operator= (const NEFill &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEFill & | operator= (NEFill &&) |
Default move assignment operator. More... | |
void | configure (ITensor *tensor, PixelValue constant_value) |
Initialize the function. More... | |
void | run () override |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
virtual void | prepare () |
Prepare the function for executing. More... | |
Basic function to run cpu::kernels::CpuFillKernel.
NEFill | ( | ) |
Default Constructor.
Definition at line 39 of file NEFill.cpp.
References NEFill::operator=(), and NEFill::~NEFill().
|
default |
Default Destructor.
Referenced by NEFill::NEFill().
Prevent instances of this class from being copied (As this class contains pointers)
void configure | ( | ITensor * | tensor, |
PixelValue | constant_value | ||
) |
Initialize the function.
[in,out] | tensor | Source tensor. Data types supported: All |
[in] | constant_value | Constant value to use to fill tensor. |
Definition at line 47 of file NEFill.cpp.
References ARM_COMPUTE_ERROR_ON_NULLPTR, and ITensor::info().
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEFill::NEFill().
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 56 of file NEFill.cpp.
References arm_compute::ACL_SRC_DST, and ITensorPack::add_tensor().