Welcome to our Support Center

BatchNormalization

Description

Adds the weights of the BatchNormalization layer to the weights table. Type : polymorphic.

 

Input parameters

 

Weights in : array

Β index :Β integer,Β index of layer.
Β weights :Β variant,Β weights values.

Β index :Β integer,Β index of layer.
Β gamma :Β array,Β 1D values. gamma = [axis].
Β beta :Β array,Β 1D values. beta = [axis].
Β moving_mean :Β array,Β 1D values. moving_mean = [axis].
Β moving_var :Β array,Β 1D values. moving_var = [axis].

Output parameters

 

Β Weights out : array

Β index :Β integer,Β index of layer.
Β weights :Β variant,Β weights values.

Dimension

  • gamma = [axis]

The size depends on the axis parameter of theΒ BatchNormalizationΒ layer and its input.
For example if the input of the layer has a size of [batch_size = 10, input_dim1 = 5, input_dim2 = 4, input_dim3 = 2] and the axis parameter has the value 1 then gamma will have a size of [input_dim1 = 5].
Another example if the axis parameter has the value 3 then gamma will have a size of [input_dim3 = 2].

 

  • beta = [axis]

The beta size is based on the same principle as the gamma size.

 

  • moving_mean = [axis]

The moving_mean size is based on the same principle as the gamma size.

 

  • moving_var = [axis]

The moving_var size is based on the same principle as the gamma size.

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install HAIBAL library to run it).

Table of Contents
Index