Compute Library
18.05
|
Basic function to execute flatten. More...
#include <CLFlattenLayer.h>
Public Member Functions | |
void | configure (const ICLTensor *input, ICLTensor *output) |
Initialise the kernel's input 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... | |
Basic function to execute flatten.
This function calls the following OpenCL kernel:
Definition at line 39 of file CLFlattenLayer.h.
Initialise the kernel's input and output.
[in] | input | First input tensor to flatten with at least 3 dimensions. The dimensions over the third will be interpreted as batches. Data types supported: QS8/QS16/F16/F32 |
[out] | output | Output tensor with shape [w*h*d, input_batches] where: w = width input tensor, h = height input tensor and d = depth input tensor. Data type supported: same as input |