Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
0a848e3e
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
0a848e3e
编写于
7月 14, 2022
作者:
A
Allen Guo
提交者:
GitHub
7月 14, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
clean unittest.skipIf 4/N (#44289)
上级
65c81c8a
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
0 addition
and
46 deletion
+0
-46
python/paddle/fluid/tests/unittests/ipu/test_reduce_x_op_ipu.py
.../paddle/fluid/tests/unittests/ipu/test_reduce_x_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_reshape_inplace_op_ipu.py
.../fluid/tests/unittests/ipu/test_reshape_inplace_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_reshape_op_ipu.py
...n/paddle/fluid/tests/unittests/ipu/test_reshape_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_save_load_ipu.py
...on/paddle/fluid/tests/unittests/ipu/test_save_load_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_scale_op_ipu.py
python/paddle/fluid/tests/unittests/ipu/test_scale_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_scaled_optimizer_state_ipu.py
...id/tests/unittests/ipu/test_scaled_optimizer_state_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_set_batch_size_ipu.py
...ddle/fluid/tests/unittests/ipu/test_set_batch_size_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_set_ipu_shard_api.py
...addle/fluid/tests/unittests/ipu/test_set_ipu_shard_api.py
+0
-10
python/paddle/fluid/tests/unittests/ipu/test_slice_op_ipu.py
python/paddle/fluid/tests/unittests/ipu/test_slice_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_softmax_op_ipu.py
...n/paddle/fluid/tests/unittests/ipu/test_softmax_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_softmax_with_cross_entropy_op_ipu.py
...s/unittests/ipu/test_softmax_with_cross_entropy_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_split_op_ipu.py
python/paddle/fluid/tests/unittests/ipu/test_split_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_squeeze_op_ipu.py
...n/paddle/fluid/tests/unittests/ipu/test_squeeze_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_stack_op_ipu.py
python/paddle/fluid/tests/unittests/ipu/test_stack_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_sum_op_ipu.py
python/paddle/fluid/tests/unittests/ipu/test_sum_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_topk_op_ipu.py
python/paddle/fluid/tests/unittests/ipu/test_topk_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_transpose_op_ipu.py
...paddle/fluid/tests/unittests/ipu/test_transpose_op_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_unary_ops_ipu.py
...on/paddle/fluid/tests/unittests/ipu/test_unary_ops_ipu.py
+0
-2
python/paddle/fluid/tests/unittests/ipu/test_unsqueeze_op_ipu.py
...paddle/fluid/tests/unittests/ipu/test_unsqueeze_op_ipu.py
+0
-2
未找到文件。
python/paddle/fluid/tests/unittests/ipu/test_reduce_x_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestMean
(
IPUOpTest
):
class
TestMean
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_reshape_inplace_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_reshape_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_save_load_ipu.py
浏览文件 @
0a848e3e
...
@@ -23,8 +23,6 @@ import paddle.static
...
@@ -23,8 +23,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_scale_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_scaled_optimizer_state_ipu.py
浏览文件 @
0a848e3e
...
@@ -19,8 +19,6 @@ import paddle.static
...
@@ -19,8 +19,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_set_batch_size_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_set_ipu_shard_api.py
浏览文件 @
0a848e3e
...
@@ -45,8 +45,6 @@ class SimpleNet(paddle.nn.Layer):
...
@@ -45,8 +45,6 @@ class SimpleNet(paddle.nn.Layer):
return
x
return
x
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestSetIpuShard
(
unittest
.
TestCase
):
class
TestSetIpuShard
(
unittest
.
TestCase
):
def
_test
(
self
):
def
_test
(
self
):
...
@@ -80,8 +78,6 @@ class TestSetIpuShard(unittest.TestCase):
...
@@ -80,8 +78,6 @@ class TestSetIpuShard(unittest.TestCase):
np
.
allclose
(
ipu_index_list
,
expected_ipu_index_list
,
atol
=
0
))
np
.
allclose
(
ipu_index_list
,
expected_ipu_index_list
,
atol
=
0
))
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestSetIpuPipeline
(
unittest
.
TestCase
):
class
TestSetIpuPipeline
(
unittest
.
TestCase
):
def
_test
(
self
):
def
_test
(
self
):
...
@@ -115,8 +111,6 @@ class TestSetIpuPipeline(unittest.TestCase):
...
@@ -115,8 +111,6 @@ class TestSetIpuPipeline(unittest.TestCase):
np
.
allclose
(
ipu_index_list
,
expected_ipu_index_list
,
atol
=
0
))
np
.
allclose
(
ipu_index_list
,
expected_ipu_index_list
,
atol
=
0
))
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestSetIpuShardAndPipeline
(
unittest
.
TestCase
):
class
TestSetIpuShardAndPipeline
(
unittest
.
TestCase
):
def
_test
(
self
):
def
_test
(
self
):
...
@@ -157,8 +151,6 @@ class TestSetIpuShardAndPipeline(unittest.TestCase):
...
@@ -157,8 +151,6 @@ class TestSetIpuShardAndPipeline(unittest.TestCase):
np
.
allclose
(
ipu_index_list
,
expected_ipu_index_list
,
atol
=
0
))
np
.
allclose
(
ipu_index_list
,
expected_ipu_index_list
,
atol
=
0
))
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestSetIpuForModel
(
unittest
.
TestCase
):
class
TestSetIpuForModel
(
unittest
.
TestCase
):
def
_test
(
self
):
def
_test
(
self
):
...
@@ -194,8 +186,6 @@ class TestSetIpuForModel(unittest.TestCase):
...
@@ -194,8 +186,6 @@ class TestSetIpuForModel(unittest.TestCase):
np
.
allclose
(
ipu_index_list
,
expected_ipu_index_list
,
atol
=
0
))
np
.
allclose
(
ipu_index_list
,
expected_ipu_index_list
,
atol
=
0
))
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestSetIpuMixedModel
(
unittest
.
TestCase
):
class
TestSetIpuMixedModel
(
unittest
.
TestCase
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_slice_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_softmax_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_softmax_with_cross_entropy_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -21,8 +21,6 @@ from paddle.fluid.tests.unittests.ipu.op_test_ipu import IPUOpTest
...
@@ -21,8 +21,6 @@ from paddle.fluid.tests.unittests.ipu.op_test_ipu import IPUOpTest
import
paddle.nn.functional
as
F
import
paddle.nn.functional
as
F
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_split_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_squeeze_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_stack_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_sum_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_topk_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestTopKOp
(
IPUOpTest
):
class
TestTopKOp
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_transpose_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_unary_ops_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
python/paddle/fluid/tests/unittests/ipu/test_unsqueeze_op_ipu.py
浏览文件 @
0a848e3e
...
@@ -20,8 +20,6 @@ import paddle.static
...
@@ -20,8 +20,6 @@ import paddle.static
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
from
paddle.fluid.tests.unittests.ipu.op_test_ipu
import
IPUOpTest
@
unittest
.
skipIf
(
not
paddle
.
is_compiled_with_ipu
(),
"core is not compiled with IPU"
)
class
TestBase
(
IPUOpTest
):
class
TestBase
(
IPUOpTest
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录