Compute Library
18.05
|
Basic function to transpose a matrix on OpenCL. More...
#include <CLTranspose.h>
Public Member Functions | |
void | configure (const ICLTensor *input, ICLTensor *output) |
Initialise the kernel's inputs and output. More... | |
Public Member Functions inherited from ICLSimpleFunction | |
ICLSimpleFunction () | |
Default constructor. More... | |
void | run () overridefinal |
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) |
Static function to check if given info will lead to a valid configuration of CLTranspose. More... | |
Basic function to transpose a matrix on OpenCL.
This function calls the following OpenCL kernel:
Definition at line 38 of file CLTranspose.h.
Initialise the kernel's inputs and output.
[in] | input | Input tensor. Data types supported: U8/S8/QS8/QASYMM8/U16/S16/F16/U32/S32/F32 |
[out] | output | Output tensor. Data type supported: Same as input |
Referenced by arm_compute::test::validation::DATA_TEST_CASE().
|
static |
Static function to check if given info will lead to a valid configuration of CLTranspose.
[in] | input | The input tensor. Data types supported: U8/S8/QS8/QASYMM8/U16/S16/F16/U32/S32/F32 |
[in] | output | The output tensor. Data types supported: Same as input |