Hi,
I’m new with DGL, and when I run my code about positional encoding, I got this error:
TypeError: adj() got an unexpected keyword argument 'scipy_fmt'
The code I run:
# A = g.adjacency_matrix_scipy(return_edge_ids=False).astype(float)
A = g.adj(scipy_fmt='csr')
# A = g.adj()
N = sp.diags(dgl.backend.asnumpy(g.in_degrees()).clip(1) ** -0.5, dtype=float)
L = sp.eye(g.number_of_nodes()) - N * A * N
My DGL version is 1.1.0+cu113
Any clue is helpful ! Thanks a lot.