Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wmsofts
Paddle
提交
3d1902dc
P
Paddle
项目概览
wmsofts
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
3d1902dc
编写于
12月 08, 2022
作者:
姜
姜永久
提交者:
GitHub
12月 09, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rm dygraph_to_static eager guard tests part3 reinforce2yolo (#48795)
上级
4f10e943
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
13 addition
and
32 deletion
+13
-32
python/paddle/fluid/tests/unittests/dygraph_to_static/test_reinforcement_learning.py
...nittests/dygraph_to_static/test_reinforcement_learning.py
+1
-2
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet.py
...le/fluid/tests/unittests/dygraph_to_static/test_resnet.py
+1
-3
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet_amp.py
...luid/tests/unittests/dygraph_to_static/test_resnet_amp.py
+1
-2
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet_pure_fp16.py
...ests/unittests/dygraph_to_static/test_resnet_pure_fp16.py
+1
-2
python/paddle/fluid/tests/unittests/dygraph_to_static/test_se_resnet.py
...fluid/tests/unittests/dygraph_to_static/test_se_resnet.py
+1
-3
python/paddle/fluid/tests/unittests/dygraph_to_static/test_sentiment.py
...fluid/tests/unittests/dygraph_to_static/test_sentiment.py
+1
-2
python/paddle/fluid/tests/unittests/dygraph_to_static/test_seq2seq.py
...e/fluid/tests/unittests/dygraph_to_static/test_seq2seq.py
+1
-3
python/paddle/fluid/tests/unittests/dygraph_to_static/test_simnet.py
...le/fluid/tests/unittests/dygraph_to_static/test_simnet.py
+1
-3
python/paddle/fluid/tests/unittests/dygraph_to_static/test_transformer.py
...uid/tests/unittests/dygraph_to_static/test_transformer.py
+1
-3
python/paddle/fluid/tests/unittests/dygraph_to_static/test_tsm.py
...addle/fluid/tests/unittests/dygraph_to_static/test_tsm.py
+1
-3
python/paddle/fluid/tests/unittests/dygraph_to_static/test_typehint.py
.../fluid/tests/unittests/dygraph_to_static/test_typehint.py
+1
-2
python/paddle/fluid/tests/unittests/dygraph_to_static/test_word2vec.py
.../fluid/tests/unittests/dygraph_to_static/test_word2vec.py
+1
-2
python/paddle/fluid/tests/unittests/dygraph_to_static/test_yolov3.py
...le/fluid/tests/unittests/dygraph_to_static/test_yolov3.py
+1
-2
未找到文件。
python/paddle/fluid/tests/unittests/dygraph_to_static/test_reinforcement_learning.py
浏览文件 @
3d1902dc
...
@@ -217,5 +217,4 @@ class TestDeclarative(unittest.TestCase):
...
@@ -217,5 +217,4 @@ class TestDeclarative(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet.py
浏览文件 @
3d1902dc
...
@@ -434,6 +434,4 @@ class TestResnet(unittest.TestCase):
...
@@ -434,6 +434,4 @@ class TestResnet(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
# switch into new eager mode
unittest
.
main
()
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet_amp.py
浏览文件 @
3d1902dc
...
@@ -127,5 +127,4 @@ class TestResnet(unittest.TestCase):
...
@@ -127,5 +127,4 @@ class TestResnet(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet_pure_fp16.py
浏览文件 @
3d1902dc
...
@@ -136,5 +136,4 @@ class TestResnet(unittest.TestCase):
...
@@ -136,5 +136,4 @@ class TestResnet(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_se_resnet.py
浏览文件 @
3d1902dc
...
@@ -600,6 +600,4 @@ class TestSeResnet(unittest.TestCase):
...
@@ -600,6 +600,4 @@ class TestSeResnet(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
# switch into new eager mode
unittest
.
main
()
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_sentiment.py
浏览文件 @
3d1902dc
...
@@ -388,5 +388,4 @@ class TestSentiment(unittest.TestCase):
...
@@ -388,5 +388,4 @@ class TestSentiment(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_seq2seq.py
浏览文件 @
3d1902dc
...
@@ -242,6 +242,4 @@ class TestSeq2seq(unittest.TestCase):
...
@@ -242,6 +242,4 @@ class TestSeq2seq(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
# switch into new eager mode
unittest
.
main
()
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_simnet.py
浏览文件 @
3d1902dc
...
@@ -176,6 +176,4 @@ class TestSimnet(unittest.TestCase):
...
@@ -176,6 +176,4 @@ class TestSimnet(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
# switch into new eager mode
unittest
.
main
()
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_transformer.py
浏览文件 @
3d1902dc
...
@@ -556,6 +556,4 @@ class TestTransformer(unittest.TestCase):
...
@@ -556,6 +556,4 @@ class TestTransformer(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
# switch into new eager mode
unittest
.
main
()
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_tsm.py
浏览文件 @
3d1902dc
...
@@ -390,6 +390,4 @@ class TestTsm(unittest.TestCase):
...
@@ -390,6 +390,4 @@ class TestTsm(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
# switch into new eager mode
unittest
.
main
()
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_typehint.py
浏览文件 @
3d1902dc
...
@@ -77,5 +77,4 @@ class TestTypeHint(TestTransformWhileLoop):
...
@@ -77,5 +77,4 @@ class TestTypeHint(TestTransformWhileLoop):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_word2vec.py
浏览文件 @
3d1902dc
...
@@ -332,5 +332,4 @@ class TestWord2Vec(unittest.TestCase):
...
@@ -332,5 +332,4 @@ class TestWord2Vec(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
unittest
.
main
()
python/paddle/fluid/tests/unittests/dygraph_to_static/test_yolov3.py
浏览文件 @
3d1902dc
...
@@ -177,5 +177,4 @@ class TestYolov3(unittest.TestCase):
...
@@ -177,5 +177,4 @@ class TestYolov3(unittest.TestCase):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
with
fluid
.
framework
.
_test_eager_guard
():
unittest
.
main
()
unittest
.
main
()
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录