xnn.common.distributed.is_main#

xnn.common.distributed.is_main()[source]#

Whether this process is rank 0 (the one that prints and writes).

Return type:

bool