class_docstr: The environment of the distributed training.
  
  Args:
      world_size: The number of total distributed training processes
      global_rank: The rank of the current process within this pool of training processes
class_docstr_tok: ["The","environment","of","the","distributed","training",".","Args",":","world_size",":","The","number","of","total","distributed","training","processes","global_rank",":","The","rank","of","the","current","process","within","this","pool","of","training","processes"]
code: def __str__(self) -> str:
      return repr(self)
  
file_path: pytorch-lightning/src/lightning/data/utilities/env.py
imports: from typing import Callable, Optional
  import torch
  from torch.utils.data import get_worker_info
label_desc: Use image node_id 4 for calling the _DistributedEnv obj's underlying member method code with example usage: obj.__str__() and returns: repr