code: def get_shape(model, node_name):
      with tf.Graph().as_default():
          t_obses = tf.placeholder(
              dtype=tf.float32, shape=(None, None, None, None)
          )
          T = render.import_model(model, t_obses, t_obses)
          return T(node_name).get_shape().as_list()
  
file_path: lucid/lucid/scratch/rl_util/util.py
imports: import numpy
  import tensorflow
  import scipy.ndimage
  import lucid.optvis.render
  from lucid.misc.io.collapse_channels import hue_to_rgb
label_desc: Use image node_id 3 for calling a global function with example usage: get_shape(model, node_name) and returns: T