Skip to content

Commit

Permalink
use concat in sage then support batch training
Browse files Browse the repository at this point in the history
  • Loading branch information
xumwen committed Mar 30, 2020
1 parent 3f147fe commit 91f52fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcn.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def __init__(self, in_channels, out_channels, gcn_type, gcn_partition=None):
else:
if gcn_type == 'gat':
self.adj_available = False
if gcn_type in ['normal', 'cheb']:
if gcn_type in ['normal', 'cheb', 'graph', 'sage']:
self.batch_training = True
self.kwargs['node_dim'] = 1
if gcn_type == 'cheb':
Expand Down

0 comments on commit 91f52fc

Please sign in to comment.