class_docstr: dist config
class_docstr_tok: ["dist","config"]
docstr: get worker index
docstr_tok: ["get","worker","index"]
code: def worker_index(self):
      """get worker index"""
      return self.rank
  
file_path: PGL/pgl/distributed/launch.py
imports: import os
  import argparse
  import threading
  import multiprocessing
  import time
  from paddle.distributed.fleet.base.private_helper_function import wait_server_ready
  from pgl.utils.logger import log
  from pgl.distributed.dist_graph import DistGraphServer, DistGraphClient
  from pgl.distributed import helper
label_desc: Use image node_id 2 for calling the Dist obj's underlying member method code with example usage: obj.worker_index() and returns: self