code: def forward(self, z):
      # p = self.project(z)
      # p = p.view(-1, 256, 4, 4) # Project and reshape (notice that pytorch uses NCHW format)
      img = self.model(z)
      img = img.view(z.size(0), *img_dims)
      return img
  
file_path: gans-with-pytorch/dcgan/dcgan.py
imports: import argparse
  import os
  import torch
  from torch import nn, optim
  from torch.autograd.variable import Variable
  from torchvision import transforms, datasets
  from torch.utils.data import DataLoader
  from torchvision.utils import save_image
label_desc: Use image node_id 2 for calling the Generator obj's underlying member method code with example usage: obj.forward(z) and returns: img