class_docstr: Request task index by Horovod rank.
class_docstr_tok: ["Request","task","index","by","Horovod","rank","."]
code: def __init__(self, rank):
      self.rank = rank
  
imports: import threading
  from horovod.runner.common.service import driver_service
  from horovod.runner.common.util import network
label_desc: Use image node_id 1 to create a new TaskIndexByRankRequest object from inherited base classes: object with example: obj = TaskIndexByRankRequest(rank)