dgl.DGLGraph.add_self_loop

DGLGraph.add_self_loop(edge_feat_names=None, fill_data=1.0, etype=None)

Alias of dgl.add_self_loop().