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. 12 10月, 2019 1 次提交
  3. 27 12月, 2018 2 次提交
  4. 11 12月, 2018 1 次提交
  5. 13 8月, 2018 1 次提交
    • W
      Fix crop op. (#12603) · 9d6243b6
      whs 提交于
      * Fix infer shape of crop op.
      * Speed crop op.
      9d6243b6
  6. 12 2月, 2018 1 次提交
  7. 10 2月, 2018 2 次提交
  8. 26 12月, 2017 1 次提交
  9. 12 12月, 2017 1 次提交
    • Q
      Refine device context (#6433) · 61ec0b95
      QI JUN 提交于
      There are mainly following fixes:
      
      - take `DeviceContext` as the template parameter of math functors and OpKernel instead of `Place`
      - remove `eigen_device` interface in base class  `DeviceContext`
      - remove `GetEigenDevice` interface in `ExecutionContext` and base class `DeviceContext`
      - remove unused `platform::EigenDeviceConverter`
      - rename `REGISTER_OP_GPU_KERNEL` to `REGISTER_OP_CUDA_KERNEL`
      - rename `USE_GPU_ONLY_OP` to `USE_CUDA_ONLY_OP`
      61ec0b95
  10. 21 9月, 2017 1 次提交
  11. 19 9月, 2017 2 次提交
  12. 18 9月, 2017 3 次提交
  13. 06 9月, 2017 1 次提交
  14. 07 8月, 2017 1 次提交
  15. 04 8月, 2017 1 次提交
  16. 02 8月, 2017 1 次提交
  17. 01 8月, 2017 1 次提交
  18. 31 7月, 2017 1 次提交