Skip to content

Commit

Permalink
Update neighbor_sampler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjiashuo authored Sep 9, 2024
1 parent 741d7cc commit 118a0da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rllm/sampler/neighbor_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

import torch
from torch import Tensor
from torch_sparse import SparseTensor

from rllm.utils.sparse import is_torch_sparse_tensor

class NeighborSampler(torch.utils.data.DataLoader):
r"""The neighbor sampler from the `"Inductive Representation Learning on
Expand Down

0 comments on commit 118a0da

Please sign in to comment.