1. 18 12月, 2020 1 次提交
    • C
      [Cherry-pick] Add complex api conj, real and imag (#29750) · ab5cc042
      Chen Weihang 提交于
      * Add complex dtype op (add) test example (#29603)
      
      
      * add op test case for complex
      
      * polish code details
      
      * add xpu set constant support
      
      * fix argument rror
      
      * remove useless pyc file
      
      * [Complex] Add real & imag op and api for complex tensor (#29672)
      
      * add complex real op & api & unittest
      
      * add imag op & api & unittest
      
      * refactor op impl
      
      * revert simplify writing due to complile failed
      
      * polish details
      
      * polish grad op code
      
      * add conj op for complex types (#29527)
      
      * add conj op for complex types
      
      * add conj for complex types
      
      * add more test case
      
      * add conj_op test
      
      * modify conj api and impl
      
      * add complex type for fill_constant_op xpu
      
      * add setConstant for complex type
      
      * remove complex conj test file
      
      * user define grad for test_conj_op
      
      * add test case for static mode of conj api
      
      * modify conj doc
      
      * change input args name to x
      
      * remove useless codes
      
      * conj support real types
      
      * add conj test case for real number
      Co-authored-by: Nchentianyu03 <chentianyu03@baidu.com>
      ab5cc042
  2. 16 12月, 2020 1 次提交
  3. 07 12月, 2020 1 次提交
  4. 04 12月, 2020 2 次提交
  5. 03 12月, 2020 1 次提交
  6. 02 12月, 2020 1 次提交
  7. 01 12月, 2020 1 次提交
  8. 30 11月, 2020 3 次提交
    • L
      Check whether there is any inplace operation affecting gradient calculation. (#27901) · 865a4598
      liym27 提交于
      * Add a class TensorInplaceVersion to count the inplace version and put it in framework::Tensor instead of Allocation or Variable.
      
      * Add a new attribute `_inplace_version` for VarBase.
      
      * Raise exception if an inplace operation can result in incorrect gradient computation.
      
      * Add a new interface _bump_inplace_version() for VarBase to bump the version whenever the Tensor is modified through an inplace operation.
      
      * For api assign, call _bump_inplace_version() when it's an inplace operation inn dynamic mode.
      
      * Use original var_wrapper if the inplace_version is not changed.
      
      * Replace SnapshotVarWrapperList with SnapshotVarWrapper to optimize performane.
      865a4598
    • C
      Polish unittests details and execution conditions to adapt to MUSL (#29044) · 0b032fae
      Chen Weihang 提交于
      * fix failed tests in yingchun gived list
      
      * add unittests into static_mode_white_list
      
      * add enable static
      
      * fix dist unittest
      
      * skip test_sigmoid_focal_loss_op & add gym
      
      * revert no need skip unittests
      
      * remove gym
      0b032fae
    • W
      Add quantization of multi_gru op and tests (#28615) · 4fd4095d
      Wojciech Uss 提交于
      4fd4095d
  9. 27 11月, 2020 2 次提交
  10. 26 11月, 2020 4 次提交
  11. 25 11月, 2020 2 次提交
  12. 24 11月, 2020 1 次提交
  13. 23 11月, 2020 3 次提交
  14. 20 11月, 2020 3 次提交
  15. 19 11月, 2020 1 次提交
  16. 17 11月, 2020 1 次提交
  17. 16 11月, 2020 3 次提交
  18. 12 11月, 2020 2 次提交
  19. 11 11月, 2020 1 次提交
  20. 10 11月, 2020 2 次提交
  21. 09 11月, 2020 1 次提交
  22. 08 11月, 2020 1 次提交
    • Y
      exec ut no more than 15s 1 (#28439) · ba075632
      YUNSHEN XIE 提交于
      * disable ut test_parallel_executor_fetch_isolated_var,test=document_fix
      
      * test for limiting ut exec time as 15S
      
      * fix an error caused by cannot find ut
      
      * fix some error
      
      * can not find test_transformer
      
      * fix error caused by ut not run in windows
      
      * fix error caused by Compiler Options
      
      * fix error caused by setting timeout value as 15 in python/paddle/tests/CMakeLists.txt
      
      * setting timeout value to 120s for old ut
      
      * add the timeout value setting
      
      * fix error caused by ut only run in coverage_ci
      
      * add analyzer_transformer_profile_tester
      
      * fix some error
      
      * fix some error
      
      * fix error with inference option
      
      * fix error with inference option setting as ON_INFER
      
      * add some ut to set timeout
      
      * modified some option
      
      * fix error
      
      * fix some timeout error
      
      * fix error
      
      * fix error
      
      * fix timeout for test_analyzer_bfloat16_resnet50
      
      * fix error
      
      * setting timeout properity for some ut
      
      * first pr for new ut timeout as 15S
      ba075632
  23. 06 11月, 2020 1 次提交
  24. 05 11月, 2020 1 次提交