code: def logsumexp(X, axis, keepdims=False):
      max_X = np.max(X)
      return max_X + np.log(
          np.sum(np.exp(X - max_X), axis=axis, keepdims=keepdims)
      )
  
imports: from __future__ import absolute_import
  from __future__ import print_function
  from builtins import range
  import autograd.numpy
  import autograd.numpy.random
  import autograd.scipy.signal
  from autograd import grad
  import data_mnist
label_desc: Use image node_id 2 for calling a global function with example usage: logsumexp(X, axis, keepdims) and returns: unknown