dgl.udf.NodeBatch.batch_size

NodeBatch.batch_size()[source]

Return the number of nodes in this batch.

Returns:
Return type:int