mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Replace dropout2 on Conv2dSubsampling with Dropout3, share time dim
This commit is contained in:
parent
1774853bdf
commit
3fdfec1049
@ -2013,7 +2013,7 @@ class Conv2dSubsampling(nn.Module):
|
||||
# max_log_eps=0.0 is to prevent both eps and the output of self.out from
|
||||
# getting large, there is an unnecessary degree of freedom.
|
||||
self.out_norm = BasicNorm(out_channels)
|
||||
self.dropout = Dropout2(dropout)
|
||||
self.dropout = Dropout3(dropout, shared_dim=1)
|
||||
|
||||
|
||||
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user