21.02
|
Basic function to execute shift function for tensor. More...
#include <GCTensorShift.h>
Public Member Functions | |
void | configure (IGCTensor *input) |
Initialise the kernel's input, output. More... | |
Public Member Functions inherited from IGCSimpleFunction | |
IGCSimpleFunction (GCRuntimeContext *ctx=nullptr) | |
Default Constructor. More... | |
IGCSimpleFunction (const IGCSimpleFunction &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
IGCSimpleFunction (IGCSimpleFunction &&)=default | |
Default move constructor. More... | |
IGCSimpleFunction & | operator= (const IGCSimpleFunction &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
IGCSimpleFunction & | operator= (IGCSimpleFunction &&)=default |
Default move assignment operator. 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... | |
Basic function to execute shift function for tensor.
This function applies to fix alignment issue on OpenGL ES:
Definition at line 44 of file GCTensorShift.h.
void configure | ( | IGCTensor * | input | ) |
Initialise the kernel's input, output.
[in,out] | input | Source tensor. Data types supported: F16/F32. |
Definition at line 34 of file GCTensorShift.cpp.