dgl.BatchedDGLGraph.batch_num_nodes

BatchedDGLGraph.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