提交 3191ccfc 编写于 作者: M minqiyang

Polish code

上级 24b0b00b
...@@ -496,8 +496,7 @@ def train_loop(exe, ...@@ -496,8 +496,7 @@ def train_loop(exe,
np.log(TrainTaskConfig.label_smooth_eps / ( np.log(TrainTaskConfig.label_smooth_eps / (
ModelHyperParams.trg_vocab_size - 1) + 1e-20)) ModelHyperParams.trg_vocab_size - 1) + 1e-20))
# num_iteration_per_drop_scope start from 1 step_idx = 0
step_idx = 1
init_flag = True init_flag = True
logging.info("begin train") logging.info("begin train")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册