class_docstr: ExampleModel implements the abstract methods of TorchGeneratorModel to define how to
  re-order encoder states and decoder incremental states.
  
  It also instantiates the embedding table, encoder, and decoder, and defines the
  final output layer.
class_docstr_tok: ["ExampleModel","implements","the","abstract","methods","of","TorchGeneratorModel","to","define","how","to","re-order","encoder","states","and","decoder","incremental","states",".","It","also","instantiates","the","embedding","table",",","encoder",",","and","decoder",",","and","defines","the","final","output","layer","."]
docstr: Perform the final output -> logits transformation.
docstr_tok: ["Perform","the","final","output","-",">","logits","transformation","."]
code: def output(self, decoder_output):
      """
      Perform the final output -> logits transformation.
      """
      return F.linear(decoder_output, self.embeddings.weight)
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  import torch.nn
  import torch.nn.functional
  import parlai.core.torch_generator_agent
label_desc: Use image node_id 2 for calling the ExampleModel obj's underlying member method code with example usage: obj.output(decoder_output) and returns: F