Hi,

I’m using this gcn model:

I have generated edgelist using PaRMAT

How does DGL read in this edgelist? Can you point me to resources on this? My edgelist is in a text file.

Thanks

Madhuri

Hi,

I’m using this gcn model:

I have generated edgelist using PaRMAT

How does DGL read in this edgelist? Can you point me to resources on this? My edgelist is in a text file.

Thanks

Madhuri

You can use `g.add_nodes(num_nodes)`

and `g.add_edges(src_list, dst_list)`

. Does this solve your question?

DGLGraph supports scipy sparse matrix as input. You can convert the RMAT graph into scipy sparse matrix first and then pass it to DGLGraph.