add the comments in hifigan

pull/3004/head
longRookie 3 years ago
parent c80fd17660
commit 8d3d4ea12c

@ -85,6 +85,14 @@ class HiFiGANGenerator(nn.Layer):
use_weight_norm (bool): use_weight_norm (bool):
Whether to use weight norm. Whether to use weight norm.
If set to true, it will be applied to all of the conv layers. If set to true, it will be applied to all of the conv layers.
istft (bool):
If set to true, it will be a iSTFTNet based on hifigan.
post_n_fft (int):
Emulate nfft in stft
gen_istft_hop_size (int):
Hop_length in istft
gen_istft_n_fft (int):
N_fft in istft, equal to post_n_fft
""" """
super().__init__() super().__init__()

Loading…
Cancel
Save