ARM Compute Library
17.04
|
Basic function to simulate a normalization layer. More...
#include <CLNormalizationLayer.h>
Public Member Functions | |
CLNormalizationLayer () | |
Default constructor. More... | |
void | configure (const ICLTensor *input, ICLTensor *output, NormalizationLayerInfo norm_info) |
Set the input and output tensors. More... | |
void | run () override |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
Basic function to simulate a normalization layer.
This function calls the following CL kernels:
Definition at line 47 of file CLNormalizationLayer.h.
Default constructor.
void configure | ( | const ICLTensor * | input, |
ICLTensor * | output, | ||
NormalizationLayerInfo | norm_info | ||
) |
Set the input and output tensors.
[in] | input | Source tensor. 3 lower dims represent a single input with dimensions [width, height, IFM], and an optional 4th dimension for batch of inputs. Data types supported: F16, F32. Number of channels must be 1. |
[out] | output | Destination tensor. Dimensions, data type and number of channels must match the input ones. |
[in] | norm_info | Normalization layer information like the normalization type, normalization size and other parameters. |
|
overridevirtual |
Run the kernels contained in the function.
For NEON kernels:
For OpenCL kernels:
Implements IFunction.