class_docstr: Base class for TextGeneration Strategy
class_docstr_tok: ["Base","class","for","TextGeneration","Strategy"]
docstr: At the end of the text generation, post process the results
  Args:
      output  (dict): the text generation output dictionary
code: def post_generation_process(self, output):
      """
      At the end of the text generation, post process the results
      Args:
          output  (dict): the text generation output dictionary
      """
      return output
  
imports: import abc
  import copy
  import os
  import re
  import warnings
  from typing import List, Set, Tuple
  import torch
  from transformers import CLIPImageProcessor
  from nemo.collections.nlp.modules.common.lm_utils import pad_batch
  from nemo.collections.nlp.modules.common.megatron.utils import get_ltor_masks_and_position_ids
label_desc: Use image node_id 9 for calling the TextGenerationStrategy obj's underlying member method code with example usage: obj.post_generation_process(output) and returns: output