提交 e76d51fd 编写于 作者: H Hui Zhang

linear embed with relu

上级 4f1a6101
......@@ -60,7 +60,8 @@ class LinearNoSubsampling(BaseSubsampling):
self.out = nn.Sequential(
nn.Linear(idim, odim),
nn.LayerNorm(odim, epsilon=1e-12),
nn.Dropout(dropout_rate), )
nn.Dropout(dropout_rate),
nn.ReLU(),)
self.right_context = 0
self.subsampling_rate = 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册