提交 98f1cebd 编写于 作者: Y Yucheng 提交者: Dong Daxiang

add sample code test under python3 and enabled multi-thread (#20950)

* test=develop
上级 394edd86
...@@ -1002,8 +1002,7 @@ function build_document_preview() { ...@@ -1002,8 +1002,7 @@ function build_document_preview() {
function example() { function example() {
pip install ${PADDLE_ROOT}/build/python/dist/*.whl pip install ${PADDLE_ROOT}/build/python/dist/*.whl
paddle version paddle version
cp ${PADDLE_ROOT}/tools/sampcd_processor.py ${PADDLE_ROOT}/python/paddle/fluid cd ${PADDLE_ROOT}/tools
cd ${PADDLE_ROOT}/python/paddle/fluid
python sampcd_processor.py cpu python sampcd_processor.py cpu
if [ "$?" != "0" ];then if [ "$?" != "0" ];then
echo "Code instance execution failed" echo "Code instance execution failed"
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册