code: def prod(x, dim):
      return tf.reduce_prod(x, axis=dim)
  
imports: from __future__ import absolute_import
  import numpy
  import tensorflow
  from scipy.sparse import coo_matrix
label_desc: Use image node_id 20 for calling a global function with example usage: prod(x, dim) and returns: tf