Created by: zhiqiu
Interface fluid.memory_optimize has been deprecated in Paddle since PR18983.
fluid.memory_optimize
So this PR tries to remove all usages of empty interface fluid.memory_optimize in models.