dgl.DGLGraph.is_pinned

DGLGraph.is_pinned()[source]

Check if the graph structure is pinned to the page-locked memory.

Returns

True if the graph structure is pinned.

Return type

bool