class_docstr: NMTModel Class
  Currently TransformerLMDecoder is the only LM decoder implemented
  
  Args:
      decoder (onmt.decoders.TransformerLMDecoder): a transformer decoder
class_docstr_tok: ["NMTModel","Class","Currently","TransformerLMDecoder","is","the","only","LM","decoder","implemented","Args",":","decoder","(","onmt.decoders.TransformerLMDecoder",")",":","a","transformer","decoder"]
code: def update_dropout(self, dropout, attention_dropout):
      self.decoder.update_dropout(dropout, attention_dropout)
  
imports: import torch
  import torch.nn
  from glob import glob
label_desc: Use image node_id 3 for calling the LanguageModel obj's underlying member method code with example usage: obj.update_dropout(dropout, attention_dropout) without return types