code: def check_tensorflow_version():
      min_tf_version = "1.4.0-dev20171024"
      if version.LooseVersion(tf.__version__) < version.LooseVersion(
          min_tf_version
      ):
          raise EnvironmentError(
              "Tensorflow version must >= %s" % min_tf_version
          )
  
imports: from __future__ import print_function
  import codecs
  import collections
  import json
  import math
  import os
  import sys
  import time
  from distutils import version
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: check_tensorflow_version() without return types