Skip to content

Commit

Permalink
Fix docstring of GraphTensor.edge_sets: it's not for node sets.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 650864543
  • Loading branch information
arnoegw authored and tensorflower-gardener committed Jul 10, 2024
1 parent 5443fb7 commit 95b2ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow_gnn/graph/graph_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ def node_sets(self) -> Mapping[NodeSetName, NodeSet]:

@property
def edge_sets(self) -> Mapping[EdgeSetName, EdgeSet]:
"""A read-only mapping from node set name to the node set."""
"""A read-only mapping from edge set name to the edge set."""
return _as_immutable_mapping(self._data[GraphTensor._DATAKEY_EDGE_SETS])

@property
Expand Down

0 comments on commit 95b2ac9

Please sign in to comment.