megengine.distributed.get_rank#

get_rank()[source]#

Get the rank of the current process.

Return type:

int