code: def get_updater(optimizer):
      """Returns a closure of the updater needed for kvstore.
  
      Parameters
      ----------
      optimizer: Optimizer
           The optimizer.
  
      Returns
      -------
      updater: function
           The closure of the updater.
      """
      return Updater(optimizer)
  
file_path: mxnet/python/mxnet/optimizer/updater.py
imports: from __future__ import absolute_import
  import pickle
  import numpy
  from ..base import py_str
  from ..ndarray import NDArray
  from ..profiler import scope
  from ..util import is_np_array
  from .utils import _as_classic
label_desc: Use image node_id 1 for calling a global function with example usage: get_updater(optimizer) and returns: Updater