Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
38f01b67
P
Paddle
项目概览
BaiXuePrincess
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
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看板
提交
38f01b67
编写于
4月 09, 2019
作者:
T
Tao Luo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename high_level_api tests
test=develop
上级
2146293d
变更
22
显示空白变更内容
内联
并排
Showing
22 changed file
with
25 addition
and
98 deletion
+25
-98
python/paddle/fluid/tests/book/high-level-api/CMakeLists.txt
python/paddle/fluid/tests/book/high-level-api/CMakeLists.txt
+25
-13
python/paddle/fluid/tests/book/high-level-api/cifar10_small_test_set.py
...fluid/tests/book/high-level-api/cifar10_small_test_set.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/fit_a_line/CMakeLists.txt
...fluid/tests/book/high-level-api/fit_a_line/CMakeLists.txt
+0
-7
python/paddle/fluid/tests/book/high-level-api/image_classification/CMakeLists.txt
...s/book/high-level-api/image_classification/CMakeLists.txt
+0
-19
python/paddle/fluid/tests/book/high-level-api/label_semantic_roles/CMakeLists.txt
...s/book/high-level-api/label_semantic_roles/CMakeLists.txt
+0
-7
python/paddle/fluid/tests/book/high-level-api/machine_translation/CMakeLists.txt
...ts/book/high-level-api/machine_translation/CMakeLists.txt
+0
-7
python/paddle/fluid/tests/book/high-level-api/recognize_digits/CMakeLists.txt
...tests/book/high-level-api/recognize_digits/CMakeLists.txt
+0
-19
python/paddle/fluid/tests/book/high-level-api/recommender_system/CMakeLists.txt
...sts/book/high-level-api/recommender_system/CMakeLists.txt
+0
-7
python/paddle/fluid/tests/book/high-level-api/test_fit_a_line_new_api.py
...luid/tests/book/high-level-api/test_fit_a_line_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_image_classification_resnet_new_api.py
...igh-level-api/test_image_classification_resnet_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_image_classification_vgg_new_api.py
...k/high-level-api/test_image_classification_vgg_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_label_semantic_roles_new_api.py
.../book/high-level-api/test_label_semantic_roles_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_machine_translation_new_api.py
...s/book/high-level-api/test_machine_translation_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_recognize_digits_conv_new_api.py
...book/high-level-api/test_recognize_digits_conv_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_recognize_digits_mlp_new_api.py
.../book/high-level-api/test_recognize_digits_mlp_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_recommender_system_new_api.py
...ts/book/high-level-api/test_recommender_system_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_understand_sentiment_conv_new_api.py
.../high-level-api/test_understand_sentiment_conv_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_understand_sentiment_dynamic_rnn_new_api.py
...evel-api/test_understand_sentiment_dynamic_rnn_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_understand_sentiment_stacked_lstm_new_api.py
...vel-api/test_understand_sentiment_stacked_lstm_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/test_word2vec_new_api.py
.../fluid/tests/book/high-level-api/test_word2vec_new_api.py
+0
-0
python/paddle/fluid/tests/book/high-level-api/understand_sentiment/CMakeLists.txt
...s/book/high-level-api/understand_sentiment/CMakeLists.txt
+0
-12
python/paddle/fluid/tests/book/high-level-api/word2vec/CMakeLists.txt
...e/fluid/tests/book/high-level-api/word2vec/CMakeLists.txt
+0
-7
未找到文件。
python/paddle/fluid/tests/book/high-level-api/CMakeLists.txt
浏览文件 @
38f01b67
file
(
GLOB TEST_OPS RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"test_*.py"
)
file
(
GLOB TEST_OPS RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"test_*
_new_api
.py"
)
string
(
REPLACE
".py"
""
TEST_OPS
"
${
TEST_OPS
}
"
)
string
(
REPLACE
".py"
""
TEST_OPS
"
${
TEST_OPS
}
"
)
#
default test
#
This test is buggy
foreach
(
src
${
TEST_OPS
}
)
# py_test(test_understand_sentiment_dynamic_rnn SRCS
py_test
(
${
src
}
SRCS
${
src
}
.py
)
# test_understand_sentiment_dynamic_rnn.py SERIAL
)
endforeach
(
)
LIST
(
REMOVE_ITEM TEST_OPS test_understand_sentiment_dynamic_rnn_new_api
)
add_subdirectory
(
fit_a_line
)
if
(
NOT APPLE
)
add_subdirectory
(
recognize_digits
)
# default test
add_subdirectory
(
image_classification
)
foreach
(
src
${
TEST_OPS
}
)
add_subdirectory
(
understand_sentiment
)
py_test
(
${
src
}
SRCS
${
src
}
.py
)
add_subdirectory
(
label_semantic_roles
)
endforeach
()
add_subdirectory
(
word2vec
)
else
()
add_subdirectory
(
recommender_system
)
foreach
(
src
${
TEST_OPS
}
)
add_subdirectory
(
machine_translation
)
if
(
${
src
}
STREQUAL
"test_image_classification_vgg_new_api"
)
message
(
WARNING
"These tests has been disabled in OSX for random fail:
\n
"
${
src
}
)
elseif
(
${
src
}
STREQUAL
"test_image_classification_resnet_new_api"
)
message
(
WARNING
"These tests has been disabled in OSX for random fail:
\n
"
${
src
}
)
elseif
(
${
src
}
STREQUAL
"test_recognize_digits_conv_new_api"
)
message
(
WARNING
"These tests has been disabled in OSX for random fail:
\n
"
${
src
}
)
elseif
(
${
src
}
STREQUAL
"test_recognize_digits_mlp_new_api"
)
message
(
WARNING
"These tests has been disabled in OSX for random fail:
\n
"
${
src
}
)
elseif
()
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endif
()
endforeach
()
endif
()
python/paddle/fluid/tests/book/high-level-api/
image_classification/
cifar10_small_test_set.py
→
python/paddle/fluid/tests/book/high-level-api/cifar10_small_test_set.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/fit_a_line/CMakeLists.txt
已删除
100644 → 0
浏览文件 @
2146293d
file
(
GLOB TEST_OPS RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"test_*.py"
)
string
(
REPLACE
".py"
""
TEST_OPS
"
${
TEST_OPS
}
"
)
# default test
foreach
(
src
${
TEST_OPS
}
)
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endforeach
()
python/paddle/fluid/tests/book/high-level-api/image_classification/CMakeLists.txt
已删除
100644 → 0
浏览文件 @
2146293d
file
(
GLOB TEST_OPS RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"test_*.py"
)
string
(
REPLACE
".py"
""
TEST_OPS
"
${
TEST_OPS
}
"
)
if
(
NOT APPLE
)
# default test
foreach
(
src
${
TEST_OPS
}
)
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endforeach
()
else
()
foreach
(
src
${
TEST_OPS
}
)
if
(
${
src
}
STREQUAL
"test_image_classification_vgg"
)
message
(
WARNING
"These tests has been disabled in OSX for random fail:
\n
"
${
src
}
)
elseif
(
${
src
}
STREQUAL
"test_image_classification_resnet"
)
message
(
WARNING
"These tests has been disabled in OSX for random fail:
\n
"
${
src
}
)
elseif
()
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endif
()
endforeach
()
endif
()
python/paddle/fluid/tests/book/high-level-api/label_semantic_roles/CMakeLists.txt
已删除
100644 → 0
浏览文件 @
2146293d
file
(
GLOB TEST_OPS RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"test_*.py"
)
string
(
REPLACE
".py"
""
TEST_OPS
"
${
TEST_OPS
}
"
)
# default test
foreach
(
src
${
TEST_OPS
}
)
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endforeach
()
python/paddle/fluid/tests/book/high-level-api/machine_translation/CMakeLists.txt
已删除
100644 → 0
浏览文件 @
2146293d
file
(
GLOB TEST_OPS RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"test_*.py"
)
string
(
REPLACE
".py"
""
TEST_OPS
"
${
TEST_OPS
}
"
)
# default test
foreach
(
src
${
TEST_OPS
}
)
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endforeach
()
python/paddle/fluid/tests/book/high-level-api/recognize_digits/CMakeLists.txt
已删除
100644 → 0
浏览文件 @
2146293d
file
(
GLOB TEST_OPS RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"test_*.py"
)
string
(
REPLACE
".py"
""
TEST_OPS
"
${
TEST_OPS
}
"
)
# default test
if
(
NOT APPLE
)
foreach
(
src
${
TEST_OPS
}
)
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endforeach
()
else
()
foreach
(
src
${
TEST_OPS
}
)
if
(
${
src
}
STREQUAL
"test_recognize_digits_conv"
)
message
(
WARNING
"These tests has been disabled in OSX for random fail:
\n
"
${
src
}
)
elseif
(
${
src
}
STREQUAL
"test_recognize_digits_mlp"
)
message
(
WARNING
"These tests has been disabled in OSX for random fail:
\n
"
${
src
}
)
else
()
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endif
()
endforeach
()
endif
()
python/paddle/fluid/tests/book/high-level-api/recommender_system/CMakeLists.txt
已删除
100644 → 0
浏览文件 @
2146293d
file
(
GLOB TEST_OPS RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"test_*.py"
)
string
(
REPLACE
".py"
""
TEST_OPS
"
${
TEST_OPS
}
"
)
# default test
foreach
(
src
${
TEST_OPS
}
)
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endforeach
()
python/paddle/fluid/tests/book/high-level-api/
fit_a_line/test_fit_a_line
.py
→
python/paddle/fluid/tests/book/high-level-api/
test_fit_a_line_new_api
.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
image_classification/test_image_classification_resnet
.py
→
python/paddle/fluid/tests/book/high-level-api/
test_image_classification_resnet_new_api
.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
image_classification/test_image_classification_vgg
.py
→
python/paddle/fluid/tests/book/high-level-api/
test_image_classification_vgg_new_api
.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
label_semantic_roles/test_label_semantic_roles_new
api.py
→
python/paddle/fluid/tests/book/high-level-api/
test_label_semantic_roles_new_
api.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
machine_translation/test_machine_translation
.py
→
python/paddle/fluid/tests/book/high-level-api/
test_machine_translation_new_api
.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
recognize_digits/test_recognize_digits_conv
.py
→
python/paddle/fluid/tests/book/high-level-api/
test_recognize_digits_conv_new_api
.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
recognize_digits/test_recognize_digits_mlp
.py
→
python/paddle/fluid/tests/book/high-level-api/
test_recognize_digits_mlp_new_api
.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
recommender_system/test_recommender_system_new
api.py
→
python/paddle/fluid/tests/book/high-level-api/
test_recommender_system_new_
api.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
understand_sentiment/test_understand_sentiment_conv
.py
→
python/paddle/fluid/tests/book/high-level-api/
test_understand_sentiment_conv_new_api
.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
understand_sentiment/test_understand_sentiment_dynamic_rnn
.py
→
python/paddle/fluid/tests/book/high-level-api/
test_understand_sentiment_dynamic_rnn_new_api
.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
understand_sentiment/test_understand_sentiment_stacked_lstm
.py
→
python/paddle/fluid/tests/book/high-level-api/
test_understand_sentiment_stacked_lstm_new_api
.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/
word2vec/
test_word2vec_new_api.py
→
python/paddle/fluid/tests/book/high-level-api/test_word2vec_new_api.py
浏览文件 @
38f01b67
文件已移动
python/paddle/fluid/tests/book/high-level-api/understand_sentiment/CMakeLists.txt
已删除
100644 → 0
浏览文件 @
2146293d
file
(
GLOB TEST_OPS RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"test_*.py"
)
string
(
REPLACE
".py"
""
TEST_OPS
"
${
TEST_OPS
}
"
)
# This test is buggy
# py_test(test_understand_sentiment_dynamic_rnn SRCS
# test_understand_sentiment_dynamic_rnn.py SERIAL)
LIST
(
REMOVE_ITEM TEST_OPS test_understand_sentiment_dynamic_rnn
)
# default test
foreach
(
src
${
TEST_OPS
}
)
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endforeach
()
python/paddle/fluid/tests/book/high-level-api/word2vec/CMakeLists.txt
已删除
100644 → 0
浏览文件 @
2146293d
file
(
GLOB TEST_OPS RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"test_*.py"
)
string
(
REPLACE
".py"
""
TEST_OPS
"
${
TEST_OPS
}
"
)
# default test
foreach
(
src
${
TEST_OPS
}
)
py_test
(
${
src
}
SRCS
${
src
}
.py
)
endforeach
()
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录