class_docstr: Interface of updater objects for trainers.
  
  :class:`~chainer.training.Updater` implements a training iteration
  as :meth:`update`. Typically, the updating iteration proceeds as follows.
  
  - Fetch a minibatch from :mod:`~chainer.dataset`
    via :class:`~chainer.dataset.Iterator`.
  - Run forward and backward process of :class:`~chainer.Chain`.
  - Update parameters according to their :class:`~chainer.UpdateRule`.
  
  The first line is processed by
  :meth:`Iterator.__next__ <chainer.dataset.Iterator.__next__>`.
  The second and third are processed by
  :meth:`Optimizer.update <chainer.Optimizer.update>`.
  Users can also implement their original updating iteration by overriding
  :meth:`Updater.update <chainer.training.Updater.update>`.
docstr: Connects the updater to the trainer that will call it.
  
  The typical usage of this method is to register additional links to the
  reporter of the trainer. This method is called at the end of the
  initialization of :class:`~chainer.training.Trainer`. The default
  implementation does nothing.
  
  Args:
      trainer (~chainer.training.Trainer): Trainer object to which the
          updater is registered.
docstr_tok: ["Connects","the","updater","to","the","trainer","that","will","call","it",".","The","typical","usage","of","this","method","is","to","register","additional","links","to","the","reporter","of","the","trainer",".","This","method","is","called","at","the","end","of","the","initialization","of",":","class",":","`","~chainer.training.Trainer","`",".","The","default","implementation","does","nothing",".","Args",":","trainer","(","~chainer.training.Trainer",")",":","Trainer","object","to","which","the","updater","is","registered","."]
code: def connect_trainer(self, trainer):
      """Connects the updater to the trainer that will call it.
  
      The typical usage of this method is to register additional links to the
      reporter of the trainer. This method is called at the end of the
      initialization of :class:`~chainer.training.Trainer`. The default
      implementation does nothing.
  
      Args:
          trainer (~chainer.training.Trainer): Trainer object to which the
              updater is registered.
  
      """
      pass
  
file_path: chainer/chainer/training/_updater.py
label_desc: Use image node_id 1 for calling the Updater obj's underlying member method code with example usage: obj.connect_trainer(trainer) without return types