class_docstr: A class for visualizing execution timelines of TensorFlow steps.
class_docstr_tok: ["A","class","for","visualizing","execution","timelines","of","TensorFlow","steps","."]
docstr: Parses the fields in a node timeline label.
docstr_tok: ["Parses","the","fields","in","a","node","timeline","label","."]
code: def _parse_kernel_label(self, label, node_name):
      """Parses the fields in a node timeline label."""
      # Expects labels of the form: retval (arg) detail @@annotation
      start = label.find("@@")
      end = label.find("#")
      if start >= 0 and end >= 0 and start + 2 < end:
          node_name = label[start + 2 : end]
      # Node names should always have the form 'name:op'.
      fields = node_name.split(":") + ["unknown"]
      name, op = fields[:2]
      return name, op
  
imports: import collections
  import copy
  import json
  import re
  from typing import Any, Dict, List, Optional, Tuple, Union
  from tensorflow.core.framework import step_stats_pb2
  from tensorflow.python.platform import build_info
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 5 for calling the Timeline obj's underlying member method code with example usage: obj._parse_kernel_label(label, node_name) and returns: name,  op