Skip to content

Commit

Permalink
Update typo in doc-string (#9057)
Browse files Browse the repository at this point in the history
Closes #9056
  • Loading branch information
simon-forb committed Mar 18, 2024
1 parent 12f6dcb commit 18d38c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_geometric/nn/aggr/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Aggregation(torch.nn.Module):
# Define the boundary indices for three sets:
ptr = torch.tensor([0, 4, 7, 10])
output = aggr(x, ptr=ptr) # Output shape: [4, 64]
output = aggr(x, ptr=ptr) # Output shape: [3, 64]
Note that at least one of :obj:`index` or :obj:`ptr` must be defined.
Expand Down

0 comments on commit 18d38c9

Please sign in to comment.