ARM Compute Library
17.04
|
Basic function to simulate a normalization layer. More...
#include <NENormalizationLayer.h>
Public Member Functions | |
NENormalizationLayer () | |
Default constructor. More... | |
void | configure (const ITensor *input, ITensor *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 NEON kernels:
Definition at line 47 of file NENormalizationLayer.h.
Default constructor.
void configure | ( | const ITensor * | input, |
ITensor * | 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 type supported: F32. Number of channels must be 1. |
[out] | output | Destination with the same dimensions, data type and number of channels of input |
[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.