code: def __init__(self):
      self.kernel_items = {}  # for kernel summary
      self.kernel_items_with_op_name_attributes = (
          collections.defaultdict(dict)
      )
      self.gpu_ids = set()
      self.occupancy = 0.0
      self.sm_efficiency = 0.0
      self.tensor_core_ratio = 0.0
  
file_path: VisualDL/visualdl/component/profiler/parser/kernel_parser.py
imports: import collections
label_desc: Use image node_id 1 to create a new KernelParser object  with example: obj = KernelParser()