21.02
|
Basic function to run cpu::kernels::CpuFloorKernel. More...
#include <NEFloor.h>
Public Member Functions | |
NEFloor () | |
Constructor. More... | |
NEFloor (const NEFloor &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEFloor (NEFloor &&) | |
Default move constructor. More... | |
NEFloor & | operator= (const NEFloor &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEFloor & | operator= (NEFloor &&) |
Default move assignment operator. More... | |
~NEFloor () | |
Destructor. More... | |
void | configure (const ITensor *input, ITensor *output) |
Set the source, destination of the kernel. 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... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *input, const ITensorInfo *output) |
Static function to check if given info will lead to a valid configuration of NEFloor. More... | |
Basic function to run cpu::kernels::CpuFloorKernel.
NEFloor | ( | ) |
Constructor.
Definition at line 38 of file NEFloor.cpp.
References NEFloor::operator=(), and NEFloor::~NEFloor().
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Destructor.
Referenced by NEFloor::NEFloor().
Set the source, destination of the kernel.
[in] | input | Source tensor. Data type supported: F16/F32. |
[out] | output | Destination tensor. Same as input |
Definition at line 46 of file NEFloor.cpp.
References ARM_COMPUTE_ERROR_ON_NULLPTR, and arm_compute::test::validation::input.
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEFloor::NEFloor().
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 62 of file NEFloor.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC, and ITensorPack::add_tensor().
|
static |
Static function to check if given info will lead to a valid configuration of NEFloor.
[in] | input | Source tensor info. Data type supported: F16/F32. |
[in] | output | Destination tensor info. Same as input |
Definition at line 57 of file NEFloor.cpp.
References CpuFloor::validate().