Compute Library
18.05
|
Basic function to run CLActivationLayerKernel. More...
#include <CLActivationLayer.h>
Public Member Functions | |
void | configure (ICLTensor *input, ICLTensor *output, ActivationLayerInfo act_info) |
Set the input and output tensor. 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, const ActivationLayerInfo &act_info) |
Static function to check if given info will lead to a valid configuration of CLActivationLayer. More... | |
Basic function to run CLActivationLayerKernel.
Definition at line 39 of file CLActivationLayer.h.
void configure | ( | ICLTensor * | input, |
ICLTensor * | 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: QS8/QASYMM8/QS16/F16/F32. |
[out] | output | Destination tensor. Data type supported: same as input |
[in] | act_info | Activation layer parameters. |
Referenced by arm_compute::test::validation::DATA_TEST_CASE().
|
static |
Static function to check if given info will lead to a valid configuration of CLActivationLayer.
[in] | input | Source tensor info. In case of output tensor info = nullptr, this tensor will store the result of the activation function. Data types supported: QS8/QASYMM8/QS16/F16/F32. |
[in] | output | Destination tensor info. Data type supported: same as input |
[in] | act_info | Activation layer information. |
Referenced by arm_compute::test::validation::DATA_TEST_CASE().