(self, x)
| 103 | self.dropout = nn.Dropout(dropout) |
| 104 | |
| 105 | def forward(self, x): |
| 106 | x = self.fc1(x) * self.gate(x) |
| 107 | x = self.dropout(x) |
| 108 | x = self.fc2(x) |
| 109 | x = self.dropout(x) |
| 110 | return x |
| 111 | |
| 112 | |
| 113 | class T5SelfAttention(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected