7d5bcd6ca4486e1f33d6de2533f56861d197a4bd,layers/tacotron.py,CBHG,forward,#CBHG#Any#,92
Before Change
// (B, in_dim*K, T_in)
// Concat conv1d bank outputs
x = torch.cat([conv1d(x)[:, :, :T] for conv1d in self.conv1d_banks], dim=1)
assert x.size(1) == self.in_dim * len(self.conv1d_banks)
x = self.max_pool1d(x)[:, :, :T]
for conv1d in self.conv1d_projections:
After Change
// (B, in_features*K, T_in)
// Concat conv1d bank outputs
outs = []
for conv1d in self.conv1d_banks:
out = conv1d(x)
out = out[:, :, :T]
outs.append(out)
x = torch.cat(outs, dim=1)
assert x.size(1) == self.in_features * len(self.conv1d_banks)
x = self.max_pool1d(x)[:, :, :T]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: mozilla/TTS
Commit Name: 7d5bcd6ca4486e1f33d6de2533f56861d197a4bd
Time: 2018-02-08
Author: egolge@mozilla.com
File Name: layers/tacotron.py
Class Name: CBHG
Method Name: forward
Project Name: pyprob/pyprob
Commit Name: a277fd89980f7a4647d0a17548aba7df37a5aefb
Time: 2018-09-19
Author: atilimgunes.baydin@gmail.com
File Name: pyprob/nn/inference_network_feedforward.py
Class Name: InferenceNetworkFeedForward
Method Name: _embed_observe
Project Name: nerox8664/pytorch2keras
Commit Name: 49dc427e2c196a334dc7b173ff317e05f04813e7
Time: 2018-01-29
Author: nerox8664@gmail.com
File Name: tests/concat_many.py
Class Name: TestConcatMany
Method Name: forward