Skip to content

Commit 9026c8b

Browse files
authored
Merge pull request #113 from AnirudhDagar/doc_fix
Fix graphs docstring
2 parents fbc45da + 6cd28ae commit 9026c8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

graph_nets/graphs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
graph.
3131
3232
- N_EDGE: The number of edges per graph. It is a vector of integers with shape
33-
`[n_graphs]`, such that `graph.N_NODE[i]` is the number of edges in the i-th
33+
`[n_graphs]`, such that `graph.N_EDGE[i]` is the number of edges in the i-th
3434
graph.
3535
3636
- NODES: The nodes features. It is either `None` (the graph has no node
@@ -42,7 +42,7 @@
4242
graph will have its features in the
4343
`1 + graph.N_NODE[0] + graph.N_NODE[1]`-th slot of graph.NODES.
4444
Observe that having a `None` value for this field does not mean that the
45-
graphs have no nodes, only that they do not have features.
45+
graphs have no nodes, only that they do not have node features.
4646
4747
- EDGES: The edges features. It is either `None` (the graph has no edge
4848
features), or a vector of shape `[n_edges] + edge_shape`, where
@@ -53,7 +53,7 @@
5353
graph will have its features in the `2 + graph.N_EDGE[0] + graph.N_EDGE[1]`-
5454
th slot of graph.EDGES.
5555
Observe that having a `None` value for this field does not necessarily mean
56-
that the graph has no edges, only that they do not have features.
56+
that the graph has no edges, only that they do not have edge features.
5757
5858
- RECEIVERS: The indices of the receiver nodes, for each edge. It is either
5959
`None` (if the graph has no edges), or a vector of integers of shape

0 commit comments

Comments
 (0)