提交 276a5558 编写于 作者: Z zhiqiu

remove deprecated fluid.memory_optimize

上级 8c1b58ae
......@@ -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.
先完成此消息的编辑!
想要评论请 注册