remove deprecated memory_optimize usages, test=develop (#19579)

fix_crf_doc
Zeng Jinle 6 years ago committed by GitHub
parent f4562c3468
commit 635cd62d23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -142,10 +142,6 @@ def test_main(use_cuda, use_py_func_op, use_parallel_executor):
exe = fluid.Executor(place)
exe.run(fluid.default_startup_program())
#FIXME force use old memory optimzie strategy here to pass the unittest
#since open the new strategy will crash the unittest
fluid.memory_optimize(fluid.default_main_program())
train_cp = fluid.default_main_program()
if use_parallel_executor:

Loading…
Cancel
Save