code: def __init__(self):
      self.initialized = False
      self.map_location = None
      self.device = None
      self.use_gpu = True
      self.store_avg = True
      self.dcgan_model = None
      self.default_number_of_images = 1
  
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 1 to create a new ModelHandler object from inherited base classes: BaseHandler with example: obj = ModelHandler()