Created by: guoshengCS
enable_dygraph
would create and switch to a new program, thus also copy seed to the new program, otherwise seed would not work.
Additionally, dropout has error seed setting currently. https://github.com/PaddlePaddle/Paddle/pull/24177