dgl.DGLGraph.batch_num_nodes

DGLGraph.batch_num_nodes

Number of nodes of each graph in this batch.

Returns:Number of nodes of each graph in this batch.
Return type:list