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

[Eager] Enable legacy for test_layout_autotune (#43273)

上级 a3f9bcb2
...@@ -20,6 +20,9 @@ import tempfile ...@@ -20,6 +20,9 @@ import tempfile
import warnings import warnings
import json import json
import os import os
from paddle.fluid.framework import _enable_legacy_dygraph
_enable_legacy_dygraph()
class SimpleNet(paddle.nn.Layer): class SimpleNet(paddle.nn.Layer):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册