f1809051ef7d28c59435f36b3ab08c99a0713fdd,glow.py,WN,forward,#WN#,143

Before Change


            in_act = self.in_layers[i](audio)
            in_act = in_act + self.cond_layers[i](spect)

            t_act = torch.nn.functional.tanh(in_act[:, :self.n_channels, :])
            s_act = torch.nn.functional.sigmoid(in_act[:, self.n_channels:, :])
            acts = t_act * s_act

            res_skip_acts = self.res_skip_layers[i](acts)
            if i < self.n_layers - 1:
                audio = res_skip_acts[:,:self.n_channels,:] + audio

After Change


            acts = fused_add_tanh_sigmoid_multiply(
                self.in_layers[i](audio),
                self.cond_layers[i](spect),
                torch.IntTensor([self.n_channels]))

            res_skip_acts = self.res_skip_layers[i](acts)
            if i < self.n_layers - 1:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: NVIDIA/waveglow
Commit Name: f1809051ef7d28c59435f36b3ab08c99a0713fdd
Time: 2018-11-14
Author: rafaelvalle@nvidia.com
File Name: glow.py
Class Name: WN
Method Name: forward


Project Name: NVIDIA/waveglow
Commit Name: 32ceb17f2a90899c952162ea44a4a42ff7f1f1fc
Time: 2018-11-12
Author: alanw@nvidia.com
File Name: glow.py
Class Name: WN
Method Name: forward


Project Name: layumi/Person_reID_baseline_pytorch
Commit Name: e9d5373461b0a037716722a461cb12416aa5d1bc
Time: 2018-01-01
Author: zzheng@joo-ml1-dev.j.cinglevue.com
File Name: evaluate.py
Class Name:
Method Name: