Created by: dzhwinter
Should set the fetch_list variable before memory optimizes, otherwise, its memory may be reused and the value fetched will be a wrong value. fix https://github.com/PaddlePaddle/Paddle/issues/11320
Created by: dzhwinter
Should set the fetch_list variable before memory optimizes, otherwise, its memory may be reused and the value fetched will be a wrong value. fix https://github.com/PaddlePaddle/Paddle/issues/11320