(self, x: torch.Tensor)
| 63 | self.dropout = nn.Dropout(dropout) |
| 64 | |
| 65 | def forward(self, x: torch.Tensor) -> torch.Tensor: |
| 66 | x = self.c_fc(x) |
| 67 | x = self.gelu(x) |
| 68 | x = self.c_proj(x) |
| 69 | x = self.dropout(x) |
| 70 | return x |
| 71 | |
| 72 | |
| 73 | class Block(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected