24.02.1
|
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 39 of file NEFloor.cpp.
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Destructor.
Set the source, destination of the kernel.
Valid data layouts:
Valid data type configurations:
src | dst |
---|---|
F32 | F32 |
F16 | F16 |
[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)
|
overridevirtual |
Run the kernels contained in the function.
For CPU kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 62 of file NEFloor.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC, ITensorPack::add_tensor(), and arm_compute::test::validation::pack.
|
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 arm_compute::test::validation::input, and CpuFloor::validate().