Compute Library
18.05
|
Basic function to run GCActivationLayerKernel. More...
#include <GCActivationLayer.h>
Public Member Functions | |
void | configure (IGCTensor *input, IGCTensor *output, ActivationLayerInfo act_info) |
Set the input and output tensor. More... | |
Public Member Functions inherited from IGCSimpleFunction | |
IGCSimpleFunction () | |
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 run GCActivationLayerKernel.
Definition at line 38 of file GCActivationLayer.h.
void configure | ( | IGCTensor * | input, |
IGCTensor * | output, | ||
ActivationLayerInfo | act_info | ||
) |
Set the input and output tensor.
[in,out] | input | Source tensor. In case of output tensor = nullptr, this tensor will store the result of the activation function. Data types supported: F16/F32. |
[out] | output | Destination tensor. Data type supported: same as input |
[in] | act_info | Activation layer parameters. |