code: def get_tf_compiler_version():
      tensorflow_libs = find(
          "libtensorflow_framework*so*", get_module_path("tensorflow")
      )
      if not tensorflow_libs:
          tensorflow_libs = find(
              "libtensorflow_framework*so*",
              get_module_path("tensorflow_core"),
          )
          if not tensorflow_libs:
              return ""
      lib = tensorflow_libs[0]
      cmd = "strings -a " + lib + ' | grep "GCC: ("'
      s = str(subprocess.check_output(cmd, shell=True))
      lines = s.split("\\n")
      ret_ver = ""
      for line in lines:
          res = re.search(r"GCC:\s*\(.*\)\s*(\d+.\d+).\d+", line)
          if res:
              ver = res.group(1)
              if not ret_ver or StrictVersion(ret_ver) < StrictVersion(
                  ver
              ):
                  ret_ver = ver
      return ret_ver
  
file_path: DALI/dali_tf_plugin/dali_tf_plugin_utils.py
imports: import subprocess
  import os
  import re
  import sys
  import fnmatch
  from distutils.version import StrictVersion
label_desc: Use image node_id 3 for calling a global function with example usage: get_tf_compiler_version() and returns: ret_ver, str