MCPcopy Index your code
hub / github.com/OpenMeshLab/MeshXL / get_rank

Function get_rank

utils/dist.py:14–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14def get_rank():
15 if not is_distributed():
16 return 0
17 return dist.get_rank()
18
19
20def is_primary():

Callers 1

is_primaryFunction · 0.85

Calls 1

is_distributedFunction · 0.85

Tested by

no test coverage detected