Skip to content

Commit

Permalink
Merge pull request #33 from Ipsit1234/graph_object_with_node_features…
Browse files Browse the repository at this point in the history
…_intro_doc

fixed syntax error occured while importing ```deepsnap.graph.Graph```
  • Loading branch information
zechengz authored Sep 19, 2021
2 parents 6f1279f + afc05f7 commit 6197dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/notes/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ attribute name :attr:`node_feature`.
import torch
import networkx as nx
rom deepsnap.graph import Graph
from deepsnap.graph import Graph
G = nx.Graph()
G.add_node(0, node_feature=torch.tensor([1,2,3]))
Expand Down

0 comments on commit 6197dce

Please sign in to comment.