• R
    fix the bug that `print_signature.py` cannot get all the public apis (#33423) · afa4bf51
    Ren Wei (任卫) 提交于
    * 增加方法获取和执行全量api的示例代码进行测试
    
    * start the sample code test for gpu
    
    * should import paddle separately
    
    * add a stdout handler, the default is stderr. the paddle_build.sh will catch the stdout content.
    
    * add RUN_ON_DEVICE into the requires set
    
    * if codeblok['required'] is empty, use the RUN_ON_DEVICE instead
    
    * set the threads to 16
    
    http://agroup.baidu.com/paddlepaddle-org-cn/md/article/4036225
    
    * 设置默认日志级别为INFO级别
    
    * using the logic from gen_doc.py
    
    * using modulelist to get the all apis
    
    * as we don't care which name is the shorttest, so fetch the first name in the all_names list
    
    * the new list from project
    
    * 先不启用gpu测试,先把print_signature获取不到全部API的问题解决了
    afa4bf51
sampcd_processor.py 23.3 KB