code: def __init__(
      self, generator, discriminator, clip=None, name="GAN_image_block"
  ):
      self._generator = generator
      self._discriminator = discriminator
      self.clip = clip
      super(GANImageBlock, self).__init__(name=name)
  
file_path: NiftyNet/niftynet/layer/gan_blocks.py
imports: from __future__ import absolute_import, print_function, division
  import tensorflow
  from niftynet.layer.base_layer import TrainableLayer
label_desc: Use image node_id 1 to create a new GANImageBlock object from inherited base classes: TrainableLayer with example: obj = GANImageBlock(generator, discriminator, clip, name)