Huhujingjing commited on
Commit
1b1e134
·
1 Parent(s): 7874c27

Upload model

Browse files
Files changed (1) hide show
  1. modeling_gcn.py +1 -1
modeling_gcn.py CHANGED
@@ -41,7 +41,7 @@ class GCNNet(torch.nn.Module):
41
  self.conv2 = GCNConv(hidden_size, 32)
42
  self.mlp = MLPReadout(32, num_classes)
43
 
44
- def forward(self, data):
45
  x, edge_index, batch = data.x.long(), data.edge_index, data.batch
46
  x = self.embedding(x.reshape(-1))
47
 
 
41
  self.conv2 = GCNConv(hidden_size, 32)
42
  self.mlp = MLPReadout(32, num_classes)
43
 
44
+ def forward_features(self, data):
45
  x, edge_index, batch = data.x.long(), data.edge_index, data.batch
46
  x = self.embedding(x.reshape(-1))
47