dgl.DGLGraph.cpu

DGLGraph.cpu()

Return a new copy of this graph on CPU.

Returns

Graph on CPU.

Return type

DGLHeteroGraph

See also

to()