dmlcloud.local_rank

dmlcloud.local_rank()

Returns the local rank of the current process.

Returns:

The local rank of the current process if available, otherwise None.

Return type:

int