torchfoo.distributed.is_distributed#

torchfoo.distributed.is_distributed()[source]#

Check if distributed mode is initialized

Returns:

True if distributed mode is initialized.

Return type:

bool