class_docstr: Profile reader to read paddle profile files, support for frontend api in lib.py.
      
class_docstr_tok: ["Profile","reader","to","read","paddle","profile","files",",","support","for","frontend","api","in","lib.py","."]
code: def get_descriptions(self, lang):
      if lang == "zh":
          return {
              "overview_environment": TOOLTIP_DEVICE_INFO_CN,  # noqa: F405
              "overview_model_perspective": TOOLTIP_MODEL_PERSPECTIVE_CN,  # noqa: F405
              "overview_model_perspective_perstep": TOOLTIP_MODEL_PERSPECTIVE_PERSTEP_CN,  # noqa: F405
              "overview_event_type_perspective": TOOLTIP_EVENT_TYPE_PERSPECTIVE_CN,  # noqa: F405
              "overview_event_type_model_perspective": TOOLTIP_EVENT_TYPE_MODEL_PERSPECTIVE_CN,  # noqa: F405
              "distributed_histogram": TOOLTIP_EVENT_DISTRIBUTED_HISTOGRAM_CN,  # noqa: F405
          }
      else:
          return {
              "overview_environment": TOOLTIP_DEVICE_INFO_EN,  # noqa: F405
              "overview_model_perspective": TOOLTIP_MODEL_PERSPECTIVE_EN,  # noqa: F405
              "overview_model_perspective_perstep": TOOLTIP_MODEL_PERSPECTIVE_PERSTEP_EN,  # noqa: F405
              "overview_event_type_perspective": TOOLTIP_EVENT_TYPE_PERSPECTIVE_EN,  # noqa: F405
              "overview_event_type_model_perspective": TOOLTIP_EVENT_TYPE_MODEL_PERSPECTIVE_EN,  # noqa: F405
              "distributed_histogram": TOOLTIP_EVENT_DISTRIBUTED_HISTOGRAM_EN,  # noqa: F405
          }
  
imports: import os
  import re
  from multiprocessing import Process
  from multiprocessing import Queue
  from threading import Lock
  from threading import Thread
  import packaging.version
  from .parser.const_description import *
  from .parser.event_node import load_profiler_json
  from .parser.event_node import ProfilerResult
  from .parser.utils import RedirectStdStreams
  from .run_manager import RunManager
  from visualdl.io import bfile
label_desc: Use image node_id 8 for calling the ProfilerReader obj's underlying member method code with example usage: obj.get_descriptions(lang) and returns: dict, dict