(self, x)
| 281 | self.fc3 = nn.Linear(mid_dim, dim) |
| 282 | |
| 283 | def forward(self, x): |
| 284 | x = F.silu(self.fc1(x)) * self.fc2(x) |
| 285 | x = self.fc3(x) |
| 286 | return x |
| 287 | |
| 288 | |
| 289 | class AttentionBlock(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected