code: def get_tensorflow():
      # Ensures backward and forward compatibility with TensorFlow 1 and 2.
      if get_package_version("tensorflow") < parse_version("1.13.1"):
          import warnings
  
          warnings.warn(
              "Use of TensorFlow 1.12 and older is deprecated. "
              "Use Tensorflow 1.13 or newer instead.",
              DeprecationWarning,
          )
          import tensorflow as tf
      else:
          import tensorflow.compat.v1 as tf
      return tf
  
imports: import importlib
  from sacred.utils import modules_exist
  from sacred.utils import get_package_version, parse_version
label_desc: Use image node_id 2 for calling a global function with example usage: get_tensorflow() and returns: tf