21.02
|
Basic function to perform logical OR. More...
#include <NELogical.h>
Public Member Functions | |
NELogicalOr () | |
Constructor. More... | |
~NELogicalOr () | |
Destructor. More... | |
NELogicalOr (const NELogicalOr &)=delete | |
NELogicalOr & | operator= (const NELogicalOr &)=delete |
NELogicalOr (NELogicalOr &&)=default | |
NELogicalOr & | operator= (NELogicalOr &&) |
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 NELogicalOr. More... | |
Basic function to perform logical OR.
Definition at line 75 of file NELogical.h.
NELogicalOr | ( | ) |
Constructor.
Definition at line 74 of file NELogical.cpp.
References NELogicalOr::operator=(), and NELogicalOr::~NELogicalOr().
|
default |
Destructor.
Referenced by NELogicalOr::NELogicalOr().
|
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 81 of file NELogical.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC_0, arm_compute::ACL_SRC_1, ARM_COMPUTE_ERROR_ON_NULLPTR, ITensor::info(), and arm_compute::Or.
|
default |
|
delete |
Referenced by NELogicalOr::NELogicalOr().
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 99 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 NELogicalOr.
[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 94 of file NELogical.cpp.
References arm_compute::Or, and NELogicalKernel::validate().