code: def sum(x, dim, keepdims=False):
      return x.sum(dim, keepdims=keepdims)
  
imports: from __future__ import absolute_import
  import mxnet
  import mxnet.ndarray
  import numpy
label_desc: Use image node_id 17 for calling a global function with example usage: sum(x, dim, keepdims) and returns: x