(self, x)
| 825 | self.bias = nn.Parameter(torch.zeros(nf)) |
| 826 | |
| 827 | def forward(self, x): |
| 828 | size_out = x.size()[:-1] + (self.nf,) |
| 829 | x = torch.addmm(self.bias, x.view(-1, x.size(-1)), self.weight) |
| 830 | x = x.view(*size_out) |
| 831 | return x |
| 832 | |
| 833 | |
| 834 | class PoolerStartLogits(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected