1. 07 11月, 2018 1 次提交
    • C
      Add fp16 backward support (#14202) · a9b5d42d
      chengduo 提交于
      * add fp16 backward support
      test=develop
      
      * add sum_op fp16 test
      
      * disable test_dist_save_load
      test=develop
      
      * add check_grad for sum
      
      * add unit test for softmax_grad fp16
      test=develop
      
      * add scale_op unit test
      
      * add mul_grad_op unit test for fp16
      
      * add cross_entropy_grad and eman_grad unit test for fp16
      test=develop
      
      * fix cross_entropy unit test
      
      * add pool2d fp16 unit test
      
      * refine conv2d fp16 unit test
      test=develop
      
      * refine activation unit test
      test=develop
      
      * fix ci
      test=develop
      
      * follow zhihong's comment, copy from https://github.com/PaddlePaddle/Paddle/pull/12796
      test=develop
      a9b5d42d
  2. 14 10月, 2018 1 次提交
  3. 20 9月, 2018 1 次提交
    • C
      Feature/op_fuse_pass (#12440) · d402234b
      chengduo 提交于
      * Add Preface
      
      * Add demo code
      
      * Save file
      
      * Refine code
      
      * seems can work
      
      * use elementwise strategy
      
      * Use ElementwiseComputeEx
      
      * Add comments
      
      * extract functions from operator
      
      * Refine code
      
      * Follow comment
      
      * code refine
      
      * add op_fuse  pass
      
      * add backward
      
      * code refine
      
      * use TopologySortOperations
      
      * follow comments
      
      * refine IsFusible
      
      * code enhance
      
      * fix op_fusion_pass
      
      * refine code
      
      * refine fuse_elemwise_act_op
      
      * adjust the input and output
      
      * refine logic
      
      * add intermediate_edge
      
      * disable inplace
      
      * follow comments
      
      * refine logic
      
      * follow comments
      
      * Remove the removable IntermediateOut
      
      * change strategy
      
      * code refine
      
      * enable fuse backward
      
      * code refine
      
      * code refine
      
      * rename unit test
      
      * follow comments
      d402234b
  4. 12 9月, 2018 1 次提交
  5. 03 9月, 2018 1 次提交
  6. 30 8月, 2018 1 次提交
    • C
      Enhance fused_elementwise_activation_op (#12837) · 3bd1d22a
      chengduo 提交于
      * Enhance the function of fused_elementwise_activation_op
      
      * enhance unit test
      
      * Clean Code And Add Doc
      
      * Add compound functors
      
      * Fix doc and enhance unit test
      
      * define Dx and Dy for d_binary_func
      
      * add mul_scale
      
      * add mul_scale
      
      * add elementwise_mul
      
      * code refine
      
      * code refine
      
      * add doc
      
      * add  AsIntermediate
      3bd1d22a
  7. 27 8月, 2018 1 次提交
  8. 20 8月, 2018 1 次提交
  9. 17 8月, 2018 1 次提交
  10. 16 8月, 2018 1 次提交
  11. 10 8月, 2018 1 次提交
  12. 01 8月, 2018 1 次提交
  13. 03 5月, 2018 1 次提交
  14. 30 4月, 2018 1 次提交
  15. 24 4月, 2018 1 次提交
  16. 10 4月, 2018 1 次提交
  17. 06 3月, 2018 1 次提交
  18. 28 2月, 2018 1 次提交
  19. 26 2月, 2018 1 次提交
  20. 24 2月, 2018 2 次提交
  21. 23 2月, 2018 2 次提交
  22. 13 2月, 2018 1 次提交
  23. 12 2月, 2018 1 次提交
  24. 10 2月, 2018 2 次提交
  25. 03 2月, 2018 1 次提交
  26. 02 2月, 2018 1 次提交
  27. 22 1月, 2018 1 次提交
  28. 19 1月, 2018 1 次提交
  29. 17 1月, 2018 1 次提交
  30. 16 1月, 2018 1 次提交
  31. 15 1月, 2018 1 次提交
  32. 26 12月, 2017 1 次提交
  33. 25 12月, 2017 1 次提交
  34. 19 12月, 2017 2 次提交
  35. 16 12月, 2017 1 次提交
  36. 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