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

* test=develop
custom_op_abi
Yucheng 5 years ago committed by Dong Daxiang
parent 394edd8647
commit 98f1cebd38

@ -1002,8 +1002,7 @@ function build_document_preview() {
function example() {
pip install ${PADDLE_ROOT}/build/python/dist/*.whl
paddle version
cp ${PADDLE_ROOT}/tools/sampcd_processor.py ${PADDLE_ROOT}/python/paddle/fluid
cd ${PADDLE_ROOT}/python/paddle/fluid
cd ${PADDLE_ROOT}/tools
python sampcd_processor.py cpu
if [ "$?" != "0" ];then
echo "Code instance execution failed"

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save