Skip to content

Commit c2bc98f

Browse files
committed
Change torch_scatter.scatter to utils.scatter
1 parent c5005f1 commit c2bc98f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

torch_geometric/nn/models/lpformer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33

44
import torch
55
import torch.nn as nn
6-
from torch_scatter import scatter
76
import torch.nn.functional as F
87
from torch import Tensor
98
from torch.nn import Parameter
109
from torch_geometric.typing import SparseTensor
1110

12-
from ...utils import softmax, get_ppr
11+
from ...utils import softmax, get_ppr, scatter
1312
from ...typing import OptTensor, Tuple, Adj
1413
from ...nn.conv import MessagePassing
1514
from ...nn.dense.linear import Linear

0 commit comments

Comments
 (0)