1. 10 6月, 2021 1 次提交
    • 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
  2. 08 6月, 2021 2 次提交
  3. 07 6月, 2021 2 次提交
  4. 03 6月, 2021 1 次提交
  5. 01 6月, 2021 2 次提交
  6. 31 5月, 2021 3 次提交
  7. 27 5月, 2021 1 次提交
  8. 26 5月, 2021 4 次提交
  9. 25 5月, 2021 2 次提交
  10. 24 5月, 2021 1 次提交
  11. 21 5月, 2021 1 次提交
  12. 20 5月, 2021 2 次提交
    • C
      Add complex template type (#32857) · 738bf20e
      chentianyu03 提交于
      * add complex template file
      
      * add numtraits for complex template
      
      * add complex template type register
      
      * modify specify template of complex
      
      * modify specify template of complex
      
      * modify specify template of complex
      
      * modify specify template of complex
      
      * make TensorCheckerVisitor support complex type
      
      * fix operator= error
      
      * add complex template
      
      * add complex template type
      
      * add complex template type to pyarray transform
      
      * add complex template type to pyarray transform
      
      * remove complex type for dlpack register
      
      * set dlpack supprot complex type
      
      * set dlpack supprot complex type
      
      * set dlpack supprot complex type
      
      * remove explict for complex constructor
      
      * add complex unit test file
      738bf20e
    • Z
      handle remove files in pr (#32940) · 7e27b5aa
      zhangchunle 提交于
      7e27b5aa
  13. 19 5月, 2021 2 次提交
  14. 18 5月, 2021 1 次提交
  15. 14 5月, 2021 3 次提交
    • Z
      change ut file map (#32841) · a3debea2
      zhangchunle 提交于
      a3debea2
    • R
      use the `required` instruction to determine if the environment fits the sample... · 42aad304
      Ren Wei (任卫) 提交于
      use the `required` instruction to determine if the environment fits the sample code's required. (#32766)
      
      * add unittests
      
      * add find_last_future_line_end
      
      * extract_code_blocks_from_docstr and its testcases
      
      * test_codeblock_before_examples_is_ignored
      
      * sampcd_extract_to_file 拆为两步
      
      * update the codeblock element's format
      
      * code-block directive has no value options
      
      * insert the CODES_INTERTED_INTO_FRONTEND
      
      * using the new func insert_codes_into_codeblock
      
      * get_test_capacity and is_required_match
      
      * using the new funcitons in sampcd_extract_to_file
      
      * add some comments and refactor functions
      
      * using logger instead of all the print
      
      * remote wlist
      
      * collect summary info, and print them
      
      * call get capacity
      
      * update summary format
      
      * print the apis that don't have sample codes.
      
      * print the samples the consumed time more than 10s.
      
      print time
      
      * update unittest testcases
      
      * solve ResourceWarning: unclosed file
      
      * run tools test seperately
      
      * python2 does not have nonlocal keyword, using dict variable instead
      
      * remove unused import, rearrange a series of conditional statements.
      
      * remove wlist.json and its check approval
      
      * remove wlist.json and its check approval
      42aad304
    • T
      test=document_fix (#32906) · ed9e7723
      tianshuo78520a 提交于
      ed9e7723
  16. 12 5月, 2021 2 次提交
  17. 10 5月, 2021 2 次提交
  18. 07 5月, 2021 2 次提交
  19. 06 5月, 2021 1 次提交
  20. 30 4月, 2021 2 次提交
    • P
      Add 12 inplace APIs including auto generated (#32573) · 308073de
      pangyoki 提交于
      * add relu6_ hardsigmoid_ leaky_relu_ Inplace APIs
      
      * add softmax_with_cross_entropy_ Inplace API
      
      * add clip_ scale_ add_ subtract_ Inplace APIs
      
      * add wlist
      
      * fix parameter of scale api
      
      * add add_n_ Inplace API and remove log_ Inplace API
      
      * fix elementwise_add_ and elementwise_sub_ broadcast problem
      
      * elementwise inplace api give error message before run the op
      
      * use broadcast_shape in elementwise inplace op
      
      * add 8 inplace apis that is auto generated
      
      * add unittest for all inplace apis
      
      * add decorator for inplace apis in static mode
      
      * fix windows blas fail of exp inplace api, change array_equal to allclose
      
      * add flatten inplace api
      
      * add flatten unittest
      
      * fix flatten unittest
      
      * add decorator
      
      * fix grad.numpy in test_pylayer_op
      
      * unsupport softmax_with_cross_entropy_
      
      * add test_inplace_softmax_with_cross_entropy to static_mode_white_list
      
      * delete __all__ in inplace_utils
      
      * delete activation inplace function and add Tensor.inplace_func
      
      * change paddle.inplace_ to Tensor.inplace_
      
      * fix little problem
      
      * add paddle in inplace_utils
      308073de
    • F
      单测全量列表修改 (#32641) · 9b4fabf9
      feng626 提交于
      * 单测全量列表修改
      
      * 单测全量列表修改
      
      * 去除挂掉的windows单测
      
      * 去除挂掉的windows单测
      9b4fabf9
  21. 29 4月, 2021 1 次提交
  22. 27 4月, 2021 2 次提交
    • P
      [Docker] support cuda11.2 and using gcc5.4 in cuda10.1 (#32531) · 31326950
      pangyoki 提交于
      * support cuda11.2 and using gcc5.4 in cuda10.1
      
      * fix manylinux py36 bug
      
      * support cuda11.2
      
      * fix python36 pip version problem in ubuntu
      
      * save cuda11.0
      31326950
    • W
      edit paddle.save/load API (#32532) · 79f7ba69
      WeiXin 提交于
      * edit paddle.save/load API
      
      * Update io.py
      
      edit doc
      
      * delete cpython-37.pyc
      
      * Update io.py
      
      edit doc
      
      * Update io.py
      
      recommit
      
      * Update io.py
      
      recommit
      
      * Update io.py
      
      recommit
      
      * Update io.py
      
      recommit
      79f7ba69