(self, *args, pb_relax=False, **kwargs)
| 2 | from apex.normalization.fused_layer_norm import FusedLayerNorm |
| 3 | class LayerNorm(FusedLayerNorm): |
| 4 | def __init__(self, *args, pb_relax=False, **kwargs): |
| 5 | super().__init__(*args, **kwargs) |
| 6 | self.pb_relax = pb_relax |
| 7 | |
| 8 | def forward(self, x): |
| 9 | if not self.pb_relax: |