Esempio n. 1
0
def _root_rank_select(old_val, new_val):  # pragma: no cover
    if distributed_api.get_rank() == 0:
        return old_val
    return new_val
Esempio n. 2
0
def _root_rank_select(old_val, new_val):
    if distributed_api.get_rank() == 0:
        return old_val
    return new_val