Created by: sneaxiy
build_strategy.enable_inplace
is True by default since Paddle17911, and it helps to save memory usages of models. What's more, it is not necessary to set fetch_var.persistable = True
anymore when build_strategy.enable_inplace=True
. This PR removes build_strategy.enable_inplace = False
in models.