14c2381207c5972359b2af450a233730ff877ee1,TTS/vocoder/layers/wavegrad.py,DBlock,__init__,#DBlock#,129
Before Change
super().__init__()
self.factor = factor
self.residual_dense = Conv1d(input_size, hidden_size, 1)
self.conv = nn.ModuleList([
Conv1d(input_size, hidden_size, 3, dilation=1, padding=1),
Conv1d(hidden_size, hidden_size, 3, dilation=2, padding=2),
Conv1d(hidden_size, hidden_size, 3, dilation=4, padding=4),
])
After Change
super().__init__()
self.factor = factor
self.residual_dense = weight_norm(Conv1d(input_size, hidden_size, 1))
self.conv = nn.ModuleList([
weight_norm(Conv1d(input_size, hidden_size, 3, dilation=1, padding=1)),
weight_norm(Conv1d(hidden_size, hidden_size, 3, dilation=2, padding=2)),
weight_norm(Conv1d(hidden_size, hidden_size, 3, dilation=4, padding=4)),
])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: mozilla/TTS
Commit Name: 14c2381207c5972359b2af450a233730ff877ee1
Time: 2020-10-29
Author: erogol@hotmail.com
File Name: TTS/vocoder/layers/wavegrad.py
Class Name: DBlock
Method Name: __init__
Project Name: mozilla/TTS
Commit Name: 14c2381207c5972359b2af450a233730ff877ee1
Time: 2020-10-29
Author: erogol@hotmail.com
File Name: TTS/vocoder/layers/wavegrad.py
Class Name: FiLM
Method Name: __init__
Project Name: mozilla/TTS
Commit Name: 14c2381207c5972359b2af450a233730ff877ee1
Time: 2020-10-29
Author: erogol@hotmail.com
File Name: TTS/vocoder/layers/wavegrad.py
Class Name: UBlock
Method Name: __init__