code: def get_tf_version_tuple():
      """
      Return TensorFlow version as a 2-element tuple (for comparison).
      """
      return tuple(map(int, tf.__version__.split(".")[:2]))
  
file_path: tensorpack/tensorpack/tfutils/common.py
imports: import tensorflow
  from ..compat import tfv1
  from ..utils.argtools import graph_memoized
  from .collect_env import collect_env_info
label_desc: Use image node_id 8 for calling a global function with example usage: get_tf_version_tuple() and returns: tuple