class_docstr: A helper class for exporting simple greedy-search models via TorchScript.
  
  Models with extra inputs will need to override to include more variables.
docstr: Post-process the model output.
  
  Returns the model output by default, override to add custom logic
docstr_tok: ["Post-process","the","model","output",".","Returns","the","model","output","by","default",",","override","to","add","custom","logic"]
code: def postprocess_output_generations(self, label: str) -> str:
      """
      Post-process the model output.
  
      Returns the model output by default, override to add custom logic
      """
      return label
  
imports: from collections import defaultdict
  from typing import Dict, List, Optional, Tuple
  import torch.jit
  from parlai.agents.bart.bart import BartAgent
  from parlai.core.dict import DictionaryAgent
  from parlai.core.torch_agent import TorchAgent
  from parlai.utils.bpe import Gpt2BpeHelper, SubwordBPEHelper
  from parlai.torchscript.tokenizer import ScriptableDictionaryAgent
  from torch import nn
label_desc: Use image node_id 7 for calling the TorchScriptGreedySearch obj's underlying member method code with example usage: obj.postprocess_output_generations(label) and returns: label