dgl.NodeFlow.layer_out_degree

NodeFlow.layer_out_degree(layer_id)[source]

Return the out-degree of the nodes in the specified layer.

Parameters

layer_id (int) – The layer Id.

Returns

The degree of the nodes in the specified layer.

Return type

Tensor