cugraph.to_numpy_array#

cugraph.to_numpy_array(G)[source]#

Returns the graph adjacency matrix as a NumPy array.

Parameters:
Gcugraph.Graph

Graph containing the adjacency matrix.