2c6ce0ebfa9537246878e8fb9144e0c879fca17d,cube/models/vocoder.py,BeeCoder,synthesize,#BeeCoder#,68
Before Change
sys.stdout.flush()
pred_probs = self._predict_one(mgc[mgc_index], history, runtime=True)
for output in pred_probs:
synth.append(self._pick_sample(output.npvalue(), temperature=temperature))
hist = synth[-self.HISTORY:]
dy.renew_cg()
After Change
last_fft = np.zeros(self.FFT_SIZE, dtype=np.complex)
out_real = output_real.value()
out_imag = output_imag.value()
for ii in range(self.FFT_SIZE):
last_fft[ii] = np.complex(out_real[ii], out_imag[ii])
predicted[mgc_index, ii] = np.complex(out_real[ii], out_imag[ii])
synth = self.vocoder.ifft(predicted, sample_rate=self.params.target_sample_rate)

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: tiberiu44/TTS-Cube
Commit Name: 2c6ce0ebfa9537246878e8fb9144e0c879fca17d
Time: 2018-10-22
Author: tibi@racai.ro
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: synthesize
Project Name: neubig/nn4nlp-code
Commit Name: 51a79d8525b651d71170d834b8002f889f16e252
Time: 2017-09-04
Author: neubig@gmail.com
File Name: 03-wordemb/wordemb-skip.py
Class Name:
Method Name:
Project Name: neubig/nn4nlp-code
Commit Name: 51a79d8525b651d71170d834b8002f889f16e252
Time: 2017-09-04
Author: neubig@gmail.com
File Name: 03-wordemb/wordemb-cbow.py
Class Name:
Method Name: