提交 ded4b1fe 编写于 作者: xujinanne's avatar xujinanne

修改

上级 b79f4c7f
......@@ -17,7 +17,6 @@ from __future__ import division
from __future__ import print_function
import argparse
import distutils.util
def parse_args():
......
文件模式从 100644 更改为 100755
......@@ -224,7 +224,6 @@ class LanguageModel(object):
losses = layers.concat([forward[-1], backward[-1]])
self.loss = layers.reduce_mean(losses)
self.loss.permissions = True
self.loss.persistable = True
self.grad_vars = [x_f, y_f, x_b, y_b, self.loss]
self.grad_vars_name = ['x', 'y', 'x_r', 'y_r', 'final_loss']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册