dgl.DGLGraph.number_of_edges

DGLGraph.number_of_edges(etype=None)

Alias of num_edges()