Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 9, 2025
1 parent 5561121 commit 906f559
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torch_geometric/data/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ def filter(self, idx: torch.Tensor) -> Self:
object (e.g., :obj:`[2:5]`), or a :obj:`torch.Tensor`/:obj:`np.ndarray`
of type long or bool, or any sequence of integers (excluding strings).
"""

mask = torch.zeros(len(self), dtype=torch.bool)
try:
mask[idx] = True
Expand Down

0 comments on commit 906f559

Please sign in to comment.