21.02
|
Basic function to run CLTileKernel. More...
#include <CLTile.h>
Public Member Functions | |
void | configure (const ICLTensor *input, ICLTensor *output, const Multiples &multiples) |
Set the source, destination of the kernel. More... | |
void | configure (const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output, const Multiples &multiples) |
Set the source, destination of the kernel. More... | |
Public Member Functions inherited from ICLSimpleFunction | |
ICLSimpleFunction (CLRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
ICLSimpleFunction (const ICLSimpleFunction &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLSimpleFunction (ICLSimpleFunction &&)=default | |
Default move constructor. More... | |
ICLSimpleFunction & | operator= (const ICLSimpleFunction &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLSimpleFunction & | operator= (ICLSimpleFunction &&)=default |
Default move assignment operator. More... | |
~ICLSimpleFunction () | |
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 CLTile. More... | |
Basic function to run CLTileKernel.
Set the source, destination of the kernel.
[in] | input | Source tensor. Data type supported: All. |
[in] | multiples | Contains the number of times the input tensor should be replicated on the given dimension. |
[out] | output | Destination tensor. Same as input |
Definition at line 30 of file CLTile.cpp.
References CLKernelLibrary::get().
void configure | ( | const CLCompileContext & | compile_context, |
const ICLTensor * | input, | ||
ICLTensor * | output, | ||
const Multiples & | multiples | ||
) |
Set the source, destination of the kernel.
[in] | compile_context | The compile context to be used. |
[in] | input | Source tensor. Data type supported: All. |
[in] | multiples | Contains the number of times the input tensor should be replicated on the given dimension. |
[out] | output | Destination tensor. Same as input |
Definition at line 35 of file CLTile.cpp.
|
static |
Static function to check if given info will lead to a valid configuration of CLTile.
[in] | input | Source tensor info. Data type supported: All. |
[in] | multiples | Contains the number of times the input tensor should be replicated on the given dimension. |
[in] | output | Destination tensor info. Same as input |
Definition at line 42 of file CLTile.cpp.
References CLTileKernel::validate().
Referenced by arm_compute::test::validation::DATA_TEST_CASE().