Skip to content

Commit

Permalink
[Doc] Add thumbnails to multi-GPU tutorials (dmlc#3141)
Browse files Browse the repository at this point in the history
  • Loading branch information
BarclayII authored Jul 16, 2021
1 parent b379dbd commit 7e92318
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tutorials/blitz/1_introduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,5 @@ def train(g, model):
#


# Thumbnail Courtesy: Stanford CS224W Notes
# Thumbnail credits: Stanford CS224W Notes
# sphinx_gallery_thumbnail_path = '_static/blitz_1_introduction.png'
2 changes: 1 addition & 1 deletion tutorials/blitz/2_dglgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,5 +226,5 @@
#


# Thumbnail Courtesy: Wikipedia
# Thumbnail credits: Wikipedia
# sphinx_gallery_thumbnail_path = '_static/blitz_2_dglgraph.png'
2 changes: 1 addition & 1 deletion tutorials/blitz/3_message_passing.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,5 +354,5 @@ def mean_udf(nodes):
#


# Thumbnail Courtesy: Representation Learning on Networks, Jure Leskovec, WWW 2018
# Thumbnail credits: Representation Learning on Networks, Jure Leskovec, WWW 2018
# sphinx_gallery_thumbnail_path = '_static/blitz_3_message_passing.png'
2 changes: 1 addition & 1 deletion tutorials/blitz/4_link_predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,5 +340,5 @@ def compute_auc(pos_score, neg_score):
print('AUC', compute_auc(pos_score, neg_score))


# Thumbnail Courtesy: Link Prediction with Neo4j, Mark Needham
# Thumbnail credits: Link Prediction with Neo4j, Mark Needham
# sphinx_gallery_thumbnail_path = '_static/blitz_4_link_predict.png'
2 changes: 1 addition & 1 deletion tutorials/blitz/5_graph_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,5 +208,5 @@ def forward(self, g, in_feat):
#


# Thumbnail Courtesy: DGL
# Thumbnail credits: DGL
# sphinx_gallery_thumbnail_path = '_static/blitz_5_graph_classification.png'
2 changes: 1 addition & 1 deletion tutorials/blitz/6_load_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,5 +223,5 @@ def __len__(self):
print(graph, label)


# Thumbnail Courtesy: (Un)common Use Cases for Graph Databases, Michal Bachman
# Thumbnail credits: (Un)common Use Cases for Graph Databases, Michal Bachman
# sphinx_gallery_thumbnail_path = '_static/blitz_6_load_data.png'
2 changes: 1 addition & 1 deletion tutorials/large/L0_neighbor_sampling_overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@
#


# Thumbnail Courtesy: Understanding graph embedding methods and their applications, Mengjia Xu
# Thumbnail credits: Understanding graph embedding methods and their applications, Mengjia Xu
# sphinx_gallery_thumbnail_path = '_static/large_L0_neighbor_sampling_overview.png'
2 changes: 1 addition & 1 deletion tutorials/large/L1_large_node_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,5 +343,5 @@ def forward(self, mfgs, x):
#


# Thumbnail Courtesy: Stanford CS224W Notes
# Thumbnail credits: Stanford CS224W Notes
# sphinx_gallery_thumbnail_path = '_static/blitz_1_introduction.png'
2 changes: 1 addition & 1 deletion tutorials/large/L2_large_link_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,5 +365,5 @@ def closure():
#


# Thumbnail Courtesy: Link Prediction with Neo4j, Mark Needham
# Thumbnail credits: Link Prediction with Neo4j, Mark Needham
# sphinx_gallery_thumbnail_path = '_static/blitz_4_link_predict.png'
2 changes: 1 addition & 1 deletion tutorials/large/L4_message_passing.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,5 +389,5 @@ def forward(self, g, h):
return self.linear(h_total)


# Thumbnail Courtesy: Representation Learning on Networks, Jure Leskovec, WWW 2018
# Thumbnail credits: Representation Learning on Networks, Jure Leskovec, WWW 2018
# sphinx_gallery_thumbnail_path = '_static/blitz_3_message_passing.png'
3 changes: 3 additions & 0 deletions tutorials/multi/1_graph_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,3 +245,6 @@ def main(rank, world_size, dataset, seed=0):
procs.append(p)
for p in procs:
p.join()

# Thumbnail credits: DGL
# sphinx_gallery_thumbnail_path = '_static/blitz_5_graph_classification.png'
2 changes: 2 additions & 0 deletions tutorials/multi/2_node_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,5 @@ def run(proc_id, devices):
for p in procs:
p.join()

# Thumbnail credits: Stanford CS224W Notes
# sphinx_gallery_thumbnail_path = '_static/blitz_1_introduction.png'

0 comments on commit 7e92318

Please sign in to comment.