32ceb17f2a90899c952162ea44a4a42ff7f1f1fc,glow.py,WN,forward,#WN#Any#,145

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

After Change



        for i in range(self.n_layers):
            in_act = self.in_layers[i](audio)
            acts = fused_add_tanh_sigmoid_multiply(in_act, self.cond_layers[i](spect), torch.IntTensor([self.n_channels]))


            if i < self.n_layers - 1:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


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: rusty1s/pytorch_geometric
Commit Name: 314ee5916b0427e3cd27e017265e34d1b22da48f
Time: 2017-10-26
Author: janeric.lenssen@tu-dortmund.de
File Name: torch_geometric/nn/functional/spline_gcn/spline_gpu.py
Class Name: SplineWeightsGPU
Method Name: forward


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