MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / get_rank

Function get_rank

yolox/utils/dist.py:59–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58
59def get_rank() -> int:
60 if not dist.is_available():
61 return 0
62 if not dist.is_initialized():
63 return 0
64 return dist.get_rank()
65
66
67def get_local_rank() -> int:

Callers 3

__init__Method · 0.90
is_main_processFunction · 0.85
_serialize_to_tensorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected