Skip to content

Commit

Permalink
Fix pyg-lib hetero_neighbor_sampler usage (#5697)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Fey <[email protected]>
  • Loading branch information
mszarma and rusty1s authored Oct 15, 2022
1 parent a4ff7a7 commit 753d1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_geometric/sampler/neighbor_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def _sample(
# TODO (matthias) Add `disjoint` option to `NeighborSampler`
# TODO (matthias) `return_edge_id` if edge features present
disjoint = self.node_time_dict is not None
out = torch.ops.pyg.hetero_neighbor_sample_cpu(
out = torch.ops.pyg.hetero_neighbor_sample(
self.node_types,
self.edge_types,
self.colptr_dict,
Expand Down

0 comments on commit 753d1e6

Please sign in to comment.