(self, x)
| 80 | self.drop2 = nn.Dropout(drop_probs[1]) |
| 81 | |
| 82 | def forward(self, x): |
| 83 | x = self.fc1(x) |
| 84 | x = self.act(x) |
| 85 | x = self.drop1(x) |
| 86 | x = self.fc2(x) |
| 87 | x = self.drop2(x) |
| 88 | return x |
| 89 | |
| 90 | class Attention(nn.Module): |
| 91 | def __init__(self, query_dim, context_dim=None, |
nothing calls this directly
no outgoing calls
no test coverage detected