mmengine.dist.get_local_rank — mmengine 0.10.7 documentation (original) (raw)
- Docs >
- mmengine.dist >
- mmengine.dist.get_local_rank
- 以中文阅读
Shortcuts
mmengine.dist.get_local_rank()[source]¶
Return the rank of current process in the current node.
Returns:
Return the rank of current process in the current node if in distributed environment, otherwise 0
Return type: