docstr: Create an image(jpeg) using the output tensor.
docstr_tok: ["Create","an","image","(","jpeg",")","using","the","output","tensor","."]
code: def postprocess(self, output_batch):
      """
      Create an image(jpeg) using the output tensor.
      """
      postprocessed_data = []
      for op in output_batch:
          fp = BytesIO()
          save_image(op, fp, format="JPEG")
          postprocessed_data.append(fp.getvalue())
          fp.close()
      return postprocessed_data
  
file_path: serve/examples/dcgan_fashiongen/dcgan_fashiongen_handler.py
imports: import os
  import zipfile
  import torch
  from io import BytesIO
  from torchvision.utils import save_image
  from ts.torch_handler.base_handler import BaseHandler
label_desc: Use image node_id 5 for calling the ModelHandler obj's underlying member method code with example usage: obj.postprocess(output_batch) and returns: postprocessed_data