parameters: (self, option_map)
docstring: Initialization for models and optimizers.
  
          ``models`` is a dict that can contain multiple models in a
          single `ModelInterface`.
  
          For each model in ``models``, there is an optimizer in
          ``optimizers`` in correspondence, using ``torch.optim.Adam``.
docstring_summary: Initialization for models and optimizers.
docstring_tokens: Initialization for models and optimizers .
function: def __init__(self, option_map):
          """Initialization for models and optimizers.
  
          ``models`` is a dict that can contain multiple models in a
          single `ModelInterface`.
  
          For each model in ``models``, there is an optimizer in
          ``optimizers`` in correspondence, using ``torch.optim.Adam``.
          """
          self.option_map = option_map
          self.models = {}
          self.old_models = deque()
          self.optimizers = {}
function_tokens: def __init__ ( self , option_map ) : self . option_map = option_map self . models = { } self . old_models = deque ( ) self . optimizers = { }