parameters: (self, updater)
docstring: Set a push updater into the store.
  
          This function only changes the local store. Use set_optimizer for
          multi-machines.
  
          Parameters
          ----------
          updater : function
              the updater function
  
          Examples
          --------
          >>> def update(key, input, stored):
          ...     print "update on key: %d" % key
          ...     stored += input * 2
          >>> kv._set_updater(update)
          >>> kv.pull(3, out=a)
          >>> print a.asnumpy()
          [[ 4.  4.  4.]
          [ 4.  4.  4.]]
          >>> kv.push(3, mx.nd.ones(shape))
          update on key: 3
          >>> kv.pull(3, out=a)
          >>> print a.asnumpy()
          [[ 6.  6.  6.]
          [ 6.  6.  6.]]
docstring_summary: Set a push updater into the store.
docstring_tokens: Set a push updater into the store .
function: def _set_updater(self, updater):
          """Set a push updater into the store.
  
          This function only changes the local store. Use set_optimizer for
          multi-machines.
  
          Parameters
          ----------
          updater : function
              the updater function
  
          Examples
          --------
          >>> def update(key, input, stored):
          ...     print "update on key: %d" % key
          ...     stored += input * 2
          >>> kv._set_updater(update)
          >>> kv.pull(3, out=a)
          >>> print a.asnumpy()
          [[ 4.  4.  4.]
          [ 4.  4.  4.]]
          >>> kv.push(3, mx.nd.ones(shape))
          update on key: 3
          >>> kv.pull(3, out=a)
          >>> print a.asnumpy()
          [[ 6.  6.  6.]
          [ 6.  6.  6.]]
          """
          _updater_proto = ctypes.CFUNCTYPE(
              None, ctypes.c_int, NDArrayHandle, NDArrayHandle, ctypes.c_void_p)
          self._updater_func = _updater_proto(_updater_wrapper(updater))
          check_call(_LIB.MXKVStoreSetUpdater(self.handle, self._updater_func, None))
function_tokens: def _set_updater ( self , updater ) : _updater_proto = ctypes . CFUNCTYPE ( None , ctypes . c_int , NDArrayHandle , NDArrayHandle , ctypes . c_void_p ) self . _updater_func = _updater_proto ( _updater_wrapper ( updater ) ) check_call ( _LIB . MXKVStoreSetUpdater ( self . handle , self . _updater_func , None ) )