1. 12 1月, 2021 1 次提交
    • C
      [Cherry-pick] Complex grad for matmul, kron and type promotion (#30304) · 7346edc2
      chentianyu03 提交于
      * complex gradient matmul  (#29966)
      
      * dot op support complex types
      
      * matmul support complex types
      
      * add test case
      
      * matmul broadcast gradient support complex
      
      * move conjFunctor to complex_functor.h
      
      * change the kron gradient when complex types (#29995)
      
      * type promotion for grad (#30177)
      
      * type promotion for grad
      
      * add type promotion for div op
      7346edc2
  2. 11 1月, 2021 11 次提交
  3. 08 1月, 2021 3 次提交
  4. 07 1月, 2021 3 次提交
  5. 05 1月, 2021 1 次提交
  6. 29 12月, 2020 3 次提交
    • C
      [Cherry-pick] Complex network execute support (#29905) · 91ebc460
      Chen Weihang 提交于
      * [Complex] Add support for complex grad accumulated (#29889)
      
      * add support for complex grad accumulated
      
      * add unittest for coverage
      
      * update test dtype
      
      * remove useless blank line
      
      * [Complex] Handle complex to real after type promotion (#29855)
      
      * try to add fwd op input dtypes
      
      * refactor base impl
      
      * return tmp_ins after dygraph prepare data
      
      * fix typo found in debug
      
      * polish comment & add complex net test
      
      * revert detail change
      
      * fix unittest failed
      
      * add complex kernel condition control
      
      * fix xpu test failed & polish comment
      
      * polish details by review comments
      
      * Complex op test (#29753)
      
      * delete no need to calculate inputs in dygraph op_test
      
      * delete no need to calculate inputs in dygraph op_test
      
      * change grad elementwise_mul for complex types (#29757)
      
      * 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
      
      * delete no need to calculate inputs in dygraph op_test
      
      * delete no need to calculate inputs in dygraph op_test
      
      * modify grad of mul for complex types
      
      * fix the grads of inputs args order not match bug
      
      * change the grad of div when complex types (#29804)
      
      * change the grad of div when complex types
      
      * fix the grads of inputs args order not match bug
      Co-authored-by: Nchentianyu03 <chentianyu03@baidu.com>
      91ebc460
    • W
      Support mips (#29943) · 5a8d43bb
      Wilber 提交于
      5a8d43bb
    • T
      cherry pick heter ps (#29955) · a839ddca
      Thunderbrook 提交于
      * cherry pick heter ps
      
      *  CMakeList
      a839ddca
  7. 28 12月, 2020 1 次提交
  8. 25 12月, 2020 2 次提交
    • Q
      feat: support check_nan_inf for kunlun/xpu device (#29694) (#29898) · 41917fb5
      QingshuChen 提交于
      * feat: support check_nan_inf for kunlun device
      
      * support kunlun stack
      
      * minor
      41917fb5
    • T
      2 0 ps core 2 (#29894) · f781ab08
      tangwei12 提交于
      * add ps table (#29463)
      
      * add ps table
      
      Change-Id: I468a04bd071d21ff52654926fcf4d5f3da19e178
      
      * add service (#29560)
      
      * add service, remove ut on mac
      
      * fix heter_profiler & add heter stop method
      
      * fix code style
      
      * merge pscore
      
      Change-Id: Ie7f60d1cdde6755a0c29db26863c6283e9843d57
      
      * fix cmake
      
      Change-Id: I6773509a7b4ca79139ecc40b7bf3eb318ceff8bb
      
      * fix conflit
      
      Change-Id: I35575be0c96a8520f9d756ea7f1ff0b904a165ba
      
      * fix conflit
      
      Change-Id: Ic926ea0b0d67803226d51241397ba3b510226bfa
      f781ab08
  9. 22 12月, 2020 2 次提交
  10. 21 12月, 2020 1 次提交
  11. 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
  12. 17 12月, 2020 3 次提交
    • S
      [cherry-pick]fix matmulv2 bug & add rebuild group & fix bug of download (#29726) · df0430dc
      ShenLiang 提交于
      * Fix the dowanload bug in the case of multiple machines (#29551)
      
      * fix the dowanload bug
      * add sort for ips
      
      * Fix bug of matmul_v2 for broadcast case (#29599)
      
      * fix bug of matmul_v2 for broadcast
      
      * Rebuild group automatically in dynamic graph distributed (#29255)
      
      * add tensor_indices in AssignGroupBySize
      
      * add rebuild group in reducer
      
      * fix error message of gather nd (#29521)
      df0430dc
    • A
      [bug fix] Added verbose oneDNN lib version (#29671) · ef04d3d3
      arlesniak 提交于
       fix #27935 (comment) by QA @OliverLPH (Could you add some MKLDNN-related print log when use FLAGS_use_mkldnn?)
      ef04d3d3
    • T
      update activation op on kunlun (#29577) (#29717) · e82efc0c
      TTerror 提交于
      * fix expand && concat/transpose to new api
      
      * update xpu_header
      
      * update activation op on kunlun
      
      * update activation op on kunlun
      
      * update activation op on kunlun
      
      * update activation op on kunlun
      
      * update activation op on kunlun
      
      * add nearest_interp on kunlun
      
      * update error message
      e82efc0c
  13. 16 12月, 2020 1 次提交
  14. 15 12月, 2020 1 次提交
  15. 08 12月, 2020 3 次提交
  16. 07 12月, 2020 2 次提交
  17. 05 12月, 2020 1 次提交
    • C
      Release/2.0 rc1 (#29388) · fbb6cd70
      chentianyu03 提交于
      * fix random failed of complex matmul
      
      * Make transpose, trace, kron, reshape, sum op support complex type (#29321)
      
      * add complex64 and complex128 type; add +-*/@ and slice opreator for complex types
      
      * add test cases for complex elementwise, matmul and getitem unittest
      
      * add test cases for complex types
      
      * add test cases for complex matmul unittest
      
      * kron, reshape, transpose support complex types
      
      * sum and trace op support complex types
      
      * add test case of sum and trace op
      
      * fix the bug of imag part of complex not initialized
      
      * format file
      
      * format code style
      
      * kron support type promotion; modify test cases
      fbb6cd70