Clarify comment

pull/2/head
Keith Ito 2017-09-12 20:52:20 -07:00
parent 564c75d1ae
commit 2460969dc9
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ def inv_spectrogram(spectrogram):
def inv_spectrogram_tensorflow(spectrogram):
'''Builds computational graph to convert spectrogram to waveform using TensorFlow.
Unlike inv_spectrogram, this does NOT apply inverse preemphasis. The caller should apply
on the output after running the graph.
Unlike inv_spectrogram, this does NOT invert the preemphasis. The caller should call
inv_preemphasis on the output after running the graph.
'''
S = _db_to_amp_tensorflow(_denormalize_tensorflow(spectrogram) + hparams.ref_level_db)
return _griffin_lim_tensorflow(tf.pow(S, hparams.power))