MCPcopy Index your code
hub / github.com/DIVE128/DMVSNet / is_main_process

Function is_main_process

tools.py:280–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278
279
280def is_main_process():
281 return get_rank() == 0
282
283
284def setup_for_distributed(is_master):

Callers 4

__init__Method · 0.85
trainMethod · 0.85
train_epochMethod · 0.85
validateMethod · 0.85

Calls 1

get_rankFunction · 0.85

Tested by

no test coverage detected