Constructor LayerNormalization
LayerNormalization(string, string, string, string, float)
Initializes and returns an instance of LayerNormalization
normalization layer.
Declaration
public LayerNormalization(string name, string input, string scale, string bias, 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. |
float | epsilon | The epsilon value the layer uses to avoid division by zero. The default value is 1e-5f. |