21.02
|
Basic function to run NETileKernel. More...
#include <NETile.h>
Public Member Functions | |
void | configure (const ITensor *input, ITensor *output, const Multiples &multiples) |
Set the source, destination of the kernel. 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 *input, const ITensorInfo *output, const Multiples &multiples) |
Static function to check if given info will lead to a valid configuration of NETile. More... | |
Basic function to run NETileKernel.
Set the source, destination of the kernel.
[in] | input | Source tensor. Data type supported: All. |
[out] | output | Destination tensor. Same as input |
[in] | multiples | Contains the number of times the input tensor should be replicated on the given dimension. |
Definition at line 30 of file NETile.cpp.
|
static |
Static function to check if given info will lead to a valid configuration of NETile.
[in] | input | Source tensor info. Data type supported: All. |
[in] | output | Destination tensor info. Same as input |
[in] | multiples | Contains the number of times the input tensor should be replicated on the given dimension. |
Definition at line 37 of file NETile.cpp.
References NETileKernel::validate().