(self, input, adj)
| 29 | self.bias.data.uniform_(-stdv, stdv) |
| 30 | |
| 31 | def forward(self, input, adj): |
| 32 | support = torch.mm(input, self.weight) |
| 33 | output = torch.spmm(adj, support) |
| 34 | if self.bias is not None: |
| 35 | return output + self.bias |
| 36 | else: |
| 37 | return output |
| 38 | |
| 39 | def __repr__(self): |
| 40 | return self.__class__.__name__ + ' (' \ |
nothing calls this directly
no outgoing calls
no test coverage detected