21.02
|
Basic function to perform logical AND. More...
#include <NELogical.h>
Public Member Functions | |
NELogicalAnd () | |
Constructor. More... | |
~NELogicalAnd () | |
Destructor. More... | |
NELogicalAnd (const NELogicalAnd &)=delete | |
NELogicalAnd & | operator= (const NELogicalAnd &)=delete |
NELogicalAnd (NELogicalAnd &&)=default | |
NELogicalAnd & | operator= (NELogicalAnd &&) |
void | configure (const ITensor *input1, const ITensor *input2, ITensor *output) |
Initialise the kernel's inputs and output. 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 *input1, const ITensorInfo *input2, const ITensorInfo *output) |
Static function to check if given info will lead to a valid configuration of NELogicalAnd. More... | |
Basic function to perform logical AND.
Definition at line 40 of file NELogical.h.
NELogicalAnd | ( | ) |
Constructor.
Definition at line 41 of file NELogical.cpp.
References NELogicalAnd::operator=(), and NELogicalAnd::~NELogicalAnd().
|
default |
Destructor.
Referenced by NELogicalAnd::NELogicalAnd().
|
delete |
|
default |
Initialise the kernel's inputs and output.
[in] | input1 | First tensor input. Data type supported: U8. |
[in] | input2 | Second tensor input. Data type supported: U8. |
[out] | output | Output tensor. Data type supported: U8. |
Definition at line 48 of file NELogical.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC_0, arm_compute::ACL_SRC_1, arm_compute::And, ARM_COMPUTE_ERROR_ON_NULLPTR, and ITensor::info().
|
default |
|
delete |
Referenced by NELogicalAnd::NELogicalAnd().
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 66 of file NELogical.cpp.
References Window::DimY, Scheduler::get(), and IScheduler::schedule_op().
|
static |
Static function to check if given info will lead to a valid configuration of NELogicalAnd.
[in] | input1 | First input tensor info. Data types supported: U8. |
[in] | input2 | Second input tensor info. Data types supported: U8. |
[in] | output | Output tensor info. Data type supported: U8 |
Definition at line 61 of file NELogical.cpp.
References arm_compute::And, and NELogicalKernel::validate().