class_docstr: NMTModel Class
  See :class:`~onmt.models.BaseModel` for options.
class_docstr_tok: ["NMTModel","Class","See",":","class",":","`","~onmt.models.BaseModel","`","for","options","."]
code: def __init__(self, encoder, decoder):
      super(NMTModel, self).__init__(encoder, decoder)
      self.encoder = encoder
      self.decoder = decoder
  
imports: import torch
  import torch.nn
  from glob import glob
label_desc: Use image node_id 1 to create a new NMTModel object from inherited base classes: BaseModel with example: obj = NMTModel(encoder, decoder)