(self, input: Tensor)
| 146 | self.weight = nn.Parameter(T.ones((dim,))) |
| 147 | |
| 148 | def forward(self, input: Tensor) -> Tensor: |
| 149 | return F.layer_norm(input, (self.weight.shape[0],), weight=self.weight, bias=None, eps=self.eps) |
| 150 | |
| 151 | |
| 152 | class FFNN(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected