Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Oneflow-Inc
oneflow
提交
b6429c2e
O
oneflow
项目概览
Oneflow-Inc
/
oneflow
上一次同步 2 年多
通知
13
Star
2733
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oneflow
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b6429c2e
编写于
9月 16, 2020
作者:
G
guo ran
提交者:
GitHub
9月 16, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rm conv2d cpu testcase (#3574)
Former-commit-id:
57bee290
上级
682963a6
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
12 addition
and
12 deletion
+12
-12
oneflow/python/test/ops/test_nn_conv2d_padding.py
oneflow/python/test/ops/test_nn_conv2d_padding.py
+6
-6
oneflow/python/test/ops/test_nn_conv2d_padding_dynamic.py
oneflow/python/test/ops/test_nn_conv2d_padding_dynamic.py
+6
-6
未找到文件。
oneflow/python/test/ops/test_nn_conv2d_padding.py
浏览文件 @
b6429c2e
...
...
@@ -149,7 +149,7 @@ def compare_with_tensorflow(
def
test_padding_valid
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
32
,
10
,
10
),
(
10
,
32
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
@@ -167,7 +167,7 @@ def test_padding_valid(test_case):
def
test_padding_same
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
32
,
10
,
10
),
(
10
,
32
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
@@ -185,7 +185,7 @@ def test_padding_same(test_case):
def
test_pad_list1
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
32
,
10
,
10
),
(
10
,
32
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
@@ -203,7 +203,7 @@ def test_pad_list1(test_case):
def
test_pad_list2
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
32
,
10
,
10
),
(
10
,
32
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
@@ -221,7 +221,7 @@ def test_pad_list2(test_case):
def
test_pad_list3
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
32
,
10
,
10
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
@@ -240,7 +240,7 @@ def test_pad_list3(test_case):
def
test_pad_list4
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
32
,
10
,
10
),
(
10
,
32
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
]
...
...
oneflow/python/test/ops/test_nn_conv2d_padding_dynamic.py
浏览文件 @
b6429c2e
...
...
@@ -162,7 +162,7 @@ def compare_with_tensorflow(
def
test_padding_valid
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
3
,
10
,
10
),
(
10
,
3
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
@@ -177,7 +177,7 @@ def test_padding_valid(test_case):
def
test_padding_same
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
3
,
10
,
10
),
(
10
,
3
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
@@ -192,7 +192,7 @@ def test_padding_same(test_case):
def
test_pad_list1
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
3
,
10
,
10
),
(
10
,
3
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
@@ -207,7 +207,7 @@ def test_pad_list1(test_case):
def
test_pad_list2
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
3
,
10
,
10
),
(
10
,
3
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
@@ -222,7 +222,7 @@ def test_pad_list2(test_case):
def
test_pad_list3
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
3
,
10
,
10
),
(
10
,
3
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
@@ -237,7 +237,7 @@ def test_pad_list3(test_case):
def
test_pad_list4
(
test_case
):
arg_dict
=
OrderedDict
()
arg_dict
[
"device_type"
]
=
[
"gpu"
,
"cpu"
]
arg_dict
[
"device_type"
]
=
[
"gpu"
]
arg_dict
[
"x_shape"
]
=
[(
10
,
3
,
10
,
10
),
(
10
,
3
,
11
,
11
)]
arg_dict
[
"filters"
]
=
[
64
]
arg_dict
[
"kernel_size"
]
=
[
3
,
2
]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录