get_world_size

dragon.distributed.get_world_size()[source]

Return the world size of distributed env.

Returns:
int The world size.