code: def __init__(self, load_from_checkpoint=True, name="discriminator"):
      self.load_from_checkpoint = load_from_checkpoint
      super(ImageDiscriminator, self).__init__(name=name)
      self.initializers = {
          "w": tf.contrib.layers.variance_scaling_initializer(),
          "b": tf.constant_initializer(0),
      }
  
file_path: NiftyNet/niftynet/contrib/ultrasound_simulator_gan/ultrasound_simulator_gan.py
imports: from __future__ import absolute_import, print_function
  import tensorflow
  import numpy
  from niftynet.layer.convolution import ConvolutionalLayer
  from niftynet.layer.deconvolution import DeconvolutionalLayer
  from niftynet.layer.gan_blocks import GANImageBlock, BaseGenerator, BaseDiscriminator
label_desc: Use image node_id 1 to create a new ImageDiscriminator object from inherited base classes: BaseDiscriminator with example: obj = ImageDiscriminator(load_from_checkpoint, name)