code: def tf_version():
      """Get the Tensorflow version.
      Returns
          tuple of (major, minor, patch).
      """
      return tuple(
          map(int, tf.version.VERSION.split("-")[0].split("."))
      )
  
imports: from __future__ import print_function
  import tensorflow
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: tf_version() and returns: tuple