未验证 提交 7e2c6d4f 编写于 作者: H Hui Zhang 提交者: GitHub

Merge pull request #822 from LittleChenCc/develop

fix norm_by_batchsize
......@@ -46,7 +46,7 @@ class CTCLoss(nn.Layer):
if grad_norm_type == 'instance':
self.norm_by_times = True
if grad_norm_type == 'batch':
self.norm_by_times = True
self.norm_by_batchsize = True
if grad_norm_type == 'frame':
self.norm_by_total_logits_len = True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册