code: def __init__(self, world_rank=0, world_size=1):
      os.environ["HOROVOD_HOSTNAME"] = self.node_id()
      os.environ["HOROVOD_RANK"] = str(world_rank)
      os.environ["HOROVOD_SIZE"] = str(world_size)
  
file_path: horovod/horovod/ray/worker.py
imports: from typing import Dict, List
  import socket
  import ray
  import os
  from horovod.ray import ray_logger
label_desc: Use image node_id 1 to create a new BaseHorovodWorker object  with example: obj = BaseHorovodWorker(world_rank, world_size)