dgl.DGLGraph.from_scipy_sparse_matrix

DGLGraph.from_scipy_sparse_matrix(spmat, multigraph=None)

DEPRECATED: please use

dgl.from_scipy(spmat)

which will return a new graph created from the scipy matrix.