未验证 提交 fba94b9f 编写于 作者: W Weilong Wu 提交者: GitHub

[Eager] Remove _enable_legacy for bfgs (#42936)

上级 d414af94
......@@ -22,9 +22,6 @@ import paddle.nn.functional as F
from paddle.incubate.optimizer.functional.bfgs import minimize_bfgs
from paddle.fluid.framework import _test_eager_guard
from paddle.fluid.framework import _enable_legacy_dygraph
_enable_legacy_dygraph()
np.random.seed(123)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册