code: def setup_torch_estimator(self, world_rank, world_size):
      self.rank = world_rank
      self.size = world_size
      self.setup_components()
  
file_path: BigDL/python/orca/src/bigdl/orca/learn/pytorch/core/lifecycle.py
imports: from abc import abstractmethod, ABCMeta
  from torch.utils.data import DataLoader
  from torch.utils.data.distributed import DistributedSampler
label_desc: Use image node_id 3 for calling the LifeCycle obj's underlying member method code with example usage: obj.setup_torch_estimator(world_rank, world_size) without return types