Layer Normalization
LayerNormalization
Bases: Module
Source code in src/transformer/modules/layer_norm.py
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
__init__(eps=1e-05)
Layer normalization
Parameters:
Name | Type | Description | Default |
---|---|---|---|
eps |
float
|
a small epsilon for numerical stability |
1e-05
|
Source code in src/transformer/modules/layer_norm.py
7 8 9 10 11 12 13 14 15 16 |
|