21.02
|
Basic function to run NESelect. More...
#include <NESelect.h>
Public Member Functions | |
void | configure (const ITensor *c, const ITensor *x, const ITensor *y, ITensor *output) |
Initialise the kernel's inputs and output. More... | |
Public Member Functions inherited from INESimpleFunctionNoBorder | |
INESimpleFunctionNoBorder (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
INESimpleFunctionNoBorder (const INESimpleFunctionNoBorder &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunctionNoBorder (INESimpleFunctionNoBorder &&)=default | |
Default move constructor. More... | |
INESimpleFunctionNoBorder & | operator= (const INESimpleFunctionNoBorder &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunctionNoBorder & | operator= (INESimpleFunctionNoBorder &&)=default |
Default move assignment operator. More... | |
~INESimpleFunctionNoBorder () | |
Default destructor. More... | |
void | run () override final |
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 *c, const ITensorInfo *x, const ITensorInfo *y, const ITensorInfo *output) |
Static function to check if given info will lead to a valid configuration of NESelect. More... | |
Basic function to run NESelect.
Definition at line 37 of file NESelect.h.
Initialise the kernel's inputs and output.
[in] | c | Condition input tensor. Data types supported: U8. |
[in] | x | First input tensor. Data types supported: All. |
[in] | y | Second input tensor. Data types supported: Same as x |
[out] | output | Output tensor. Data types supported: Same as x . |
Definition at line 31 of file NESelect.cpp.
|
static |
Static function to check if given info will lead to a valid configuration of NESelect.
[in] | c | Condition input tensor. Data types supported: U8. |
[in] | x | First input tensor. Data types supported: All. |
[in] | y | Second input tensor. Data types supported: Same as x |
[in] | output | Output tensor. Data types supported: Same as x . |
Definition at line 38 of file NESelect.cpp.
References NESelectKernel::validate().