From 276a5558a54422550e4bb414a0e367b907963d5a Mon Sep 17 00:00:00 2001 From: zhiqiu Date: Mon, 2 Sep 2019 15:19:49 +0800 Subject: [PATCH] remove deprecated fluid.memory_optimize --- train.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/train.py b/train.py index f0de622..dd9ebc8 100644 --- a/train.py +++ b/train.py @@ -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(): -- GitLab