code: def __init__(self, name="generator", *args, **kwargs):
      super(BaseGenerator, 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 BaseGenerator object from inherited base classes: TrainableLayer with example: obj = BaseGenerator(name)