(self, x, edge_index=None, **kwargs)
| 347 | # self.acts.append(self.activation) |
| 348 | |
| 349 | def forward(self, x, edge_index=None, **kwargs): |
| 350 | for i in range(self.layer_num): |
| 351 | x = self.norms[i](self.convs[i](x)) |
| 352 | if i == self.layer_num - 1 and not self.last_act: |
| 353 | pass |
| 354 | # print(i, 'pass last relu') |
| 355 | else: |
| 356 | x = self.activation(x) |
| 357 | x = self.dropout(x) |
| 358 | # x = self.activation(self.convs[i](x, edge_index, edge_weight)) |
| 359 | # x = self.bns[i](x) |
| 360 | # x = self.activation(self.bns[i](self.convs[i](x, edge_index))) |
| 361 | # out_readout = self.readout(x, batch, batch_size) |
| 362 | return x |
| 363 | |
| 364 | def reset_parameters(self): |
| 365 | for i in range(self.layer_num): |
nothing calls this directly
no outgoing calls
no test coverage detected