memory_optimize

paddle.fluid.memory_optimize(input_program, skip_opt_set=None, print_log=False, level=0, skip_grads=True)[source]

This API is deprecated since 1.6. Please do not use it. The better memory optimization strategies are enabled by default.