(self, x)
| 58 | self.drop2 = nn.Dropout(drop_probs[1]) |
| 59 | |
| 60 | def forward(self, x): |
| 61 | x = self.fc1(x) |
| 62 | x = self.act(x) |
| 63 | x = self.drop1(x) |
| 64 | x = self.norm(x) |
| 65 | x = self.fc2(x) |
| 66 | x = self.drop2(x) |
| 67 | return x |
| 68 | |
| 69 | |
| 70 | class TextProjection(nn.Module): |