We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39e845f commit 3e6f282Copy full SHA for 3e6f282
torchts/utils/graph.py
@@ -46,7 +46,7 @@ def scaled_laplacian(adj_mx, lambda_max=2, undirected=True):
46
M, _ = L.shape
47
I = sp.identity(M, format="csr", dtype=L.dtype)
48
L = (2 / lambda_max * L) - I
49
- return L.astype(np.float32)
+ return L
50
51
52
def sparse_matrix(L):
0 commit comments