code: def shape_list(x):
      """
      Deal with dynamic shape in tensorflow cleanly
      """
      ps = x.get_shape().as_list()
      ts = tf.shape(input=x)
      return [ts[i] if ps[i] is None else ps[i] for i in range(len(ps))]
  
imports: import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: shape_list(x) and returns: unknown