dgl.subgraph.DGLSubGraph.copy_to_parent

DGLSubGraph.copy_to_parent(inplace=False)[source]

Write node/edge features to the parent graph.

Parameters:inplace (bool) – If true, use inplace write (no gradient but faster)