未验证 提交 e6e0af89 编写于 作者: Z Zeng Jinle 提交者: GitHub

Merge pull request #310 from zhiqiu/dev/remove_deprecated_mem_opt

Remove deprecated fluid.memory_optimize
......@@ -189,12 +189,6 @@ def train(args):
decr_ratio=args.decr_ratio)
fluid.memory_optimize(
input_program=train_program,
skip_opt_set=[
next_sent_acc.name, mask_lm_loss.name, total_loss.name
])
test_prog = fluid.Program()
with fluid.program_guard(test_prog, startup_prog):
with fluid.unique_name.guard():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册