code: def in_session(func):
      """
      Wraps a function so that it is in a TensorFlow Session
  
      :param func: (function) the function to wrap
      :return: (function)
      """
  
      @functools.wraps(func)
      def newfunc(*args, **kwargs):
          with tf.Session():
              func(*args, **kwargs)
  
      return newfunc
  
imports: import os
  import collections
  import functools
  import multiprocessing
  from typing import Set
  import numpy
  import tensorflow
label_desc: Use image node_id 14 for calling a global function with example usage: in_session(func) and returns: newfunc