code: def decoder(self, z):
      l = FullyConnected("fc", z, NF * 8 * 8)
      l = tf.reshape(l, [-1, 8, 8, NF])
  
      with argscope(
          Conv2D, activation=tf.nn.elu, kernel_size=3, strides=1
      ):
          l = (
              LinearWrap(l)
              .Conv2D("conv1.1", NF)
              .Conv2D("conv1.2", NF)
              .tf.image.resize_nearest_neighbor(
                  [16, 16], align_corners=True
              )
              .Conv2D("conv2.1", NF)
              .Conv2D("conv2.2", NF)
              .tf.image.resize_nearest_neighbor(
                  [32, 32], align_corners=True
              )
              .Conv2D("conv3.1", NF)
              .Conv2D("conv3.2", NF)
              .tf.image.resize_nearest_neighbor(
                  [64, 64], align_corners=True
              )
              .Conv2D("conv4.1", NF)
              .Conv2D("conv4.2", NF)
              .Conv2D("conv4.3", 3, activation=tf.identity)()
          )
      return l
  
file_path: tensorpack/examples/GAN/BEGAN.py
imports: import tensorflow
  from tensorpack import *
  from tensorpack.tfutils.scope_utils import auto_reuse_variable_scope
  from tensorpack.tfutils.summary import add_moving_summary
  from tensorpack.utils.gpu import get_num_gpu
  import DCGAN
  from GAN import GANModelDesc, GANTrainer
label_desc: Use image node_id 2 for calling the Model obj's underlying member method code with example usage: obj.decoder(z) and returns: l