Is there a way of converting a Heterograph to a normal graph?
I was running an old GraphSAGE tutorial script I had that worked prior to the recent update, but now when I try to run I get the error Expected type graph.Graph but get graph.HeteroGraph
.
I tried something naive like g = dgl.graph(g.edges())
but this still returns a Heterograph. Is there an easy way to switch between the two?