dgl.DGLGraph.unpin_memory_ΒΆ

DGLGraph.unpin_memory_()[source]ΒΆ

Unpin the graph structure and node/edge data from the page-locked memory.

This is an inplace method. If the graph struture is not pinned, e.g., on CPU or GPU, the function directly returns it.

Returns

The unpinned graph.

Return type

DGLGraph