code: def shape_list(x):
      """Deal with dynamic shape in tensorflow cleanly."""
      static = x.shape.as_list()
      dynamic = tf.shape(input=x)
      return [
          dynamic[i] if s is None else s for i, s in enumerate(static)
      ]
  
imports: import numpy
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: shape_list(x) and returns: unknown