dgl.udf.NodeBatch.nodes

NodeBatch.nodes()[source]

Return the nodes contained in this batch.

Returns:The nodes.
Return type:tensor