Update model.py
This commit is contained in:
parent
314f98be08
commit
4583602eec
@ -12,6 +12,11 @@ from collections import defaultdict
|
|||||||
from graphsage.encoders import Encoder
|
from graphsage.encoders import Encoder
|
||||||
from graphsage.aggregators import MeanAggregator
|
from graphsage.aggregators import MeanAggregator
|
||||||
|
|
||||||
|
"""
|
||||||
|
Simple supervised GraphSAGE model as well as examples running the model
|
||||||
|
on the Cora and Pubmed datasets.
|
||||||
|
"""
|
||||||
|
|
||||||
class SupervisedGraphSage(nn.Module):
|
class SupervisedGraphSage(nn.Module):
|
||||||
|
|
||||||
def __init__(self, num_classes, enc):
|
def __init__(self, num_classes, enc):
|
||||||
|
Loading…
Reference in New Issue
Block a user