(self, x: torch.Tensor)
| 271 | self.norm = nn.LayerNorm(target_dim) |
| 272 | |
| 273 | def forward(self, x: torch.Tensor) -> torch.Tensor: |
| 274 | x = self.linear1(x) |
| 275 | x = F.gelu(x) |
| 276 | x = self.linear2(x) |
| 277 | x = self.norm(x) |
| 278 | return x |
| 279 | |
| 280 | class alignMLP(nn.Module): |
| 281 | def __init__(self, input_dim, hidden_dim, output_dim): |
nothing calls this directly
no outgoing calls
no test coverage detected