def __init__(self, feats_extract: Optional[AbsFeatsExtract], normalize: Optional[(AbsNormalize and InversibleInterface)], tts: AbsGANTTS):
    'Initialize ESPnetGANTTSModel module.'
    assert check_argument_types()
    super().__init__()
    self.feats_extract = feats_extract
    self.normalize = normalize
    self.tts = tts
    assert hasattr(tts, 'generator'), 'generator module must be resistered as tts.generator'
    assert hasattr(tts, 'discriminator'), 'discriminator module must be resistered as tts.discriminator'
Initialize ESPnetGANTTSModel module.
def __init__(self, feats_extract: Optional[AbsFeatsExtract], normalize: Optional[(AbsNormalize and InversibleInterface)], tts: AbsGANTTS):
    
    assert check_argument_types()
    super().__init__()
    self.feats_extract = feats_extract
    self.normalize = normalize
    self.tts = tts
    assert hasattr(tts, 'generator'), 'generator module must be resistered as tts.generator'
    assert hasattr(tts, 'discriminator'), 'discriminator module must be resistered as tts.discriminator'