未验证 提交 d8282814 编写于 作者: Q Qdriving 提交者: GitHub

Update model.py

yapf check
上级 a3be0848
...@@ -230,7 +230,7 @@ class Model(ModelBase): ...@@ -230,7 +230,7 @@ class Model(ModelBase):
pad_value) pad_value)
seq_shape = fluid.layers.shape(pos_seq_pad) seq_shape = fluid.layers.shape(pos_seq_pad)
if(seq_shape[1] < 2): if seq_shape[1] < 2:
aux_loss = 0 aux_loss = 0
else: else:
test_pos = fluid.layers.reduce_sum( test_pos = fluid.layers.reduce_sum(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册