dgl.NodeFlow.layer_size

NodeFlow.layer_size(layer_id)[source]

Return the number of nodes in a specified layer.

Parameters:layer_id (int) – the specified layer to return the number of nodes.