2ca943ad4981b69af135e179144c559c872b5edd,cube/models/vocoder.py,BeeCoder,_predict_one,#BeeCoder#Any#Any#Any#,89

Before Change



        output_real = self.output_real_w.expr(update=True) * hidden + self.output_real_b.expr(update=True)
        output_imag = self.output_imag_w.expr(update=True) * hidden + self.output_imag_b.expr(update=True)
        output = [output_real, output_imag]
        return output

    def learn(self, wave, mgc, batch_size):

After Change


            hidden_power = dy.tanh(w.expr(update=True) * hidden_power + b.expr(update=True))

        for w, b in zip(self.hidden_w_angle, self.hidden_b_angle):
            hidden_angle = dy.tanh(w.expr(update=True) * hidden_angle + b.expr(update=True))

        output_power = dy.logistic(self.output_power_w.expr(update=True) * hidden_power +
                                   self.output_power_b.expr(update=True))
        output_angle = self.output_angle_w.expr(update=True) * hidden_angle + \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tiberiu44/TTS-Cube
Commit Name: 2ca943ad4981b69af135e179144c559c872b5edd
Time: 2018-10-23
Author: boros@adobe.com
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: _predict_one


Project Name: NVIDIA/waveglow
Commit Name: bc8b3d39e99306fbb59194dc880e618332e467e0
Time: 2018-11-13
Author: jrafaelvalle@gmail.com
File Name: glow.py
Class Name: WN
Method Name: forward


Project Name: matplotlib/matplotlib
Commit Name: 8ee355c59d871c68f0b47edc90551d76fc465ea5
Time: 2019-06-13
Author: 2836374+timhoffm@users.noreply.github.com
File Name: examples/subplots_axes_and_figures/custom_figure_class.py
Class Name:
Method Name: