code: def parse_line(line):  # type: (str) -> typing.Optional[ParsedLine]
      match = LINE_PATTERN.match(line.strip())
      if not match:
          return
  
      major, minor, micro, benchmark, timestamp = match.groups()[:5]
      call_file, call_line, tag, _, value = match.groups()[5:]
  
      return ParsedLine(
          version=(int(major), int(minor), int(micro)),
          benchmark=benchmark,
          timestamp=timestamp,
          callsite=(call_file, call_line),
          tag=tag,
          value=value,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from collections import namedtuple
  import json
  import os
  import re
  import subprocess
  import sys
  import typing
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: parse_line(line) and returns: ParsedLine