1. 24 9月, 2019 1 次提交
    • L
      Make OpTest check grad inplace even if forward has no inplace (#19847) · 57606205
      Leo Chen 提交于
      * make OpTest check grad inplace even if forward has no inplace, test=develop
      
      * do not run PE when enable_inplace is False, test=develop
      
      * add conv3d cuda kernel for float16 type, test=develop
      
      * refactor OpTest for inplace, test=develop
      
      * add comments, test=develop
      57606205
  2. 18 9月, 2019 1 次提交
    • L
      Update elementwise double grad to save gpu memory (#19509) · 982e61f5
      Leo Chen 提交于
      * update elementwise double grad to save gpu memory, test=develop
      
      * update elementwise_mul/div_grad_grad to save memory, test=develop
      
      * remove eval function in eigen statement to save memory, test=develop
      
      * add unittest for elementwise_div_grad_grad without dout, test=develop
      
      * add unittest for elementwise_add_grad_grad without ddx, test=develop
      
      * add float16 cuda kernel for elementwise double grad op, test=develop
      982e61f5
  3. 13 5月, 2019 2 次提交
    • Y
      Optimize the elementwise op using eigen (#15494) · dcda2023
      Yiqun Liu 提交于
      * Optimize the elementwise op with CUDA kernels.
      test=develop
      
      * Support setting of attr in op config file.
      test=develop
      
      * Add the support the setting dtype and initializer in config.
      test=develop
      
      * Save workspace.
      
      * Add initializer "zeros".
      test=develop
      
      * Fix compiling error.
      
      * Support the use of existed file to initailize tensor in op_tester.
      
      * Use eigen to optimize the elementwise_add/mul for the case that x and y have the same dims.
      test=develop
      dcda2023
    • K
      add double grad for elementwise_mul op (#17255) · 8bae8590
      Kaipeng Deng 提交于
      * add double grad for elementwise_mul. test=develop
      
      * remove comment. test=develop
      
      * fix grad sum. test=develop
      
      * fix for axis expand. test=develop
      
      * add test for axis expand. test=develop
      8bae8590
  4. 19 12月, 2018 1 次提交
  5. 05 12月, 2018 1 次提交
    • C
      Fix clip.py (#14718) · 04539d4c
      chengduo 提交于
      * expose square
      test=develop
      
      * fix activation
      test=develop
      
      * Add square API
      test=develop
      
      * add necessary op
      
      * code refine
      
      * fix API.spec
      test=develop
      
      * fix unit test
      test=develop
      
      * add unit test sparse_grad_clip
      test=develop
      
      * fix API.spec
      test=develop
      
      * remove mac test for test_gradient_clip
      test=develop
      
      * remove selectedrows_mul_tensor
      test=develop
      04539d4c
  6. 16 11月, 2018 1 次提交
    • W
      Refine operator cmake (#14413) · a2d9b344
      Wu Yi 提交于
      * wip simplify operator framework
      
      * wip
      
      * wip
      
      * done test=develop
      
      * clean test=develop
      
      * fix test=develop
      
      * fix deps test=develop
      
      * fix cpu build test=develop
      
      * fix tensorrt build test=develop
      
      * fix tests test=develop
      
      * fix test=develop
      
      * fix cpu build test=develop
      a2d9b344
  7. 08 11月, 2018 1 次提交
    • C
      Fix input<tensor> (#14208) · c5b6573a
      chengduo 提交于
      * fix input<tensor>
      test=develop
      
      * fix split_ids
      test=develop
      
      * ElementwiseMul should not support SelectedRows
      
      * fix scale op
      test=develop
      
      * change GetTensorFromVar() method to GetTensorOrSelectedRowsFromVar()
      
      * fix operator
      
      * refine MultiOutput
      
      * fix MultiOutput
      test=develop
      
      * disable test_dist_save_load
      test=develop
      
      * fix elementwise_op
      test=develop
      
      * add get_sparse_as_op
      test=develop
      
      * add info for check
      test=develop
      
      * rename get_sparse_as_op with extract_rows_as_op.
      test=develop
      
      * elementwise doesn't support selected_rows
      
      * fix regularizer
      
      * remove extract_rows_as
      test=develop
      
      * fix ci
      test=develop
      
      * add test for sum_op
      
      * fix regularizer
      test=develop
      
      *  test=develop
      
      * fix pserver weight decay multi inputs test=develop
      c5b6573a
  8. 18 9月, 2018 1 次提交
  9. 17 9月, 2018 1 次提交
  10. 22 8月, 2018 1 次提交
  11. 16 8月, 2018 1 次提交
  12. 07 3月, 2018 1 次提交
  13. 06 3月, 2018 1 次提交
  14. 12 2月, 2018 1 次提交
  15. 10 2月, 2018 2 次提交
  16. 03 2月, 2018 1 次提交
  17. 02 2月, 2018 1 次提交
  18. 17 1月, 2018 1 次提交
  19. 15 1月, 2018 1 次提交
  20. 26 12月, 2017 1 次提交
  21. 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
  22. 28 9月, 2017 1 次提交
  23. 27 9月, 2017 1 次提交
  24. 22 9月, 2017 1 次提交
  25. 15 9月, 2017 1 次提交
  26. 13 9月, 2017 1 次提交