(self)
| 76 | return (x - mu) / torch.sqrt(sigma+1e-5) * self.weight + self.bias |
| 77 | |
| 78 | def initialize(self): |
| 79 | weight_init(self) |
| 80 | |
| 81 | class LayerNorm(nn.Module): |
| 82 | def __init__(self, dim, LayerNorm_type): |
nothing calls this directly
no test coverage detected