1. 23 12月, 2020 1 次提交
  2. 22 12月, 2020 1 次提交
  3. 21 12月, 2020 1 次提交
  4. 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
  5. 16 12月, 2020 1 次提交
  6. 07 12月, 2020 1 次提交
  7. 04 12月, 2020 2 次提交
  8. 03 12月, 2020 1 次提交
  9. 02 12月, 2020 1 次提交
  10. 01 12月, 2020 1 次提交
  11. 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
  12. 27 11月, 2020 2 次提交
  13. 26 11月, 2020 4 次提交
  14. 25 11月, 2020 2 次提交
  15. 24 11月, 2020 1 次提交
  16. 23 11月, 2020 3 次提交
  17. 20 11月, 2020 3 次提交
  18. 19 11月, 2020 1 次提交
  19. 17 11月, 2020 1 次提交
  20. 16 11月, 2020 3 次提交
  21. 12 11月, 2020 2 次提交
  22. 11 11月, 2020 1 次提交
  23. 10 11月, 2020 2 次提交
  24. 09 11月, 2020 1 次提交