Constructor BatchNormalization
BatchNormalization(string, string, string, string, string, string, float)
Initializes and returns an instance of BatchNormalization
normalization layer.
Declaration
public BatchNormalization(string name, string input, string scale, string bias, string mean, string variance, float epsilon = 1E-05)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to use for the output tensor of the layer. |
string | input | The name to use for the input tensor of the layer. |
string | scale | The name to use for the scale tensor of the layer. |
string | bias | The name to use for the bias tensor of the layer. |
string | mean | The name to use for the mean tensor of the layer. |
string | variance | The name to use for the variance tensor of the layer. |
float | epsilon | The epsilon value the layer uses to avoid division by zero. The default value is 1e-5f. |