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. 28 10月, 2018 1 次提交
  3. 27 10月, 2018 3 次提交
  4. 18 10月, 2018 1 次提交
  5. 17 10月, 2018 1 次提交
  6. 08 10月, 2018 1 次提交
  7. 27 9月, 2018 1 次提交
    • T
      Add distributed unit tests about text_classification/simnet-bow/ctr (#12812) · 97cf1eb6
      tangwei12 提交于
      * add dist ut for text_classification
      
      * add dist ut for text_classification
      
      * add simnet bow unittest
      
      * add dist ut for simnet bow
      
      * add trainning data url for simnet bow
      
      * add trainning data url for simnet bow
      
      * modify simnet test_reader to train reader
      
      * add test_dist_ctr
      
      * test_dist_ctr can run now
      
      * dense update is good
      
      * add unit test for selected rows
      
      * debug unit test
      
      * fix dist sparse update problem
      
      * Constant args at init
      
      * optimize code
      
      * simnet optimize
      
      * fix DebugStringEx
      
      * optimize sum_op.h
      
      * add ScaleOpVarTypeInference
      
      * clean code
      
      * fix test_dist_transpiler.py
      
      * code optimize
      
      * modify delta
      
      * fix sparse update bug
      
      * dist test use one cpu
      
      * update some data
      
      * remove unused code
      
      * add use cuda config
      
      * unit test fix
      
      * unit test fix
      
      * unit test fix
      
      * unit test fix
      
      * dist_word2vec use CPU
      
      * unit test fix
      
      * unit test fix
      
      * code clean
      
      * code clean
      
      * merge develop
      
      * api spec update
      
      * Revert: api spec update
      
      * replace simnet data with fake
      
      * replace simnet data with fake
      
      * update dim
      
      * add batch auc
      
      * code clean
      
      * code clean
      
      * modify print to stderr
      
      * update simnet delta -> 1e-5
      
      * update RUN_STEP
      
      * add use_reader_alloc
      
      * add use_reader_alloc
      
      * add use_reader_alloc
      
      * modify delta
      
      * add use_reader_alloc
      
      * fix stderr write
      
      * python3 compatibility
      
      test=develop
      
      * python3 compatibility, test=develop
      
      * Update dist_text_classification.py
      
      * test=develop
      97cf1eb6
  8. 20 9月, 2018 2 次提交
  9. 17 9月, 2018 1 次提交
  10. 18 8月, 2018 1 次提交
  11. 17 8月, 2018 2 次提交
  12. 16 8月, 2018 2 次提交
  13. 01 8月, 2018 1 次提交
  14. 31 7月, 2018 1 次提交
  15. 09 4月, 2018 1 次提交
  16. 09 3月, 2018 1 次提交
  17. 15 2月, 2018 1 次提交
    • Y
      Update tensor_util.h (#8422) · cfffb1a3
      Yi Wang 提交于
      * Update tensor_util.h
      
      * Update with moved TensorDesc
      
      * Fix tensur_utils.cu
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Make tensor_util.cu a symbolic link
      cfffb1a3
  18. 12 2月, 2018 1 次提交
  19. 11 2月, 2018 1 次提交
  20. 10 2月, 2018 2 次提交
  21. 30 1月, 2018 1 次提交
  22. 09 1月, 2018 2 次提交
  23. 28 12月, 2017 2 次提交
  24. 26 12月, 2017 2 次提交
  25. 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
  26. 04 12月, 2017 1 次提交
    • Y
      While op forward for sentimental analysis (#6140) · d5e32794
      Yu Yang 提交于
      * Add DataFeeder
      
      A v2 API like data feeder for book demos.
      We can feed data directly from reader.
      
      * Fix CI
      
      * Add an unittest for while/rnn op forward
      
      * Add unittest for raw while op backward
      
      * Fix CI
      d5e32794
  27. 01 12月, 2017 1 次提交
  28. 26 11月, 2017 1 次提交
    • D
      Feature/copytensor (#5455) · 45062fe5
      dzhwinter 提交于
      * "make global tensor function independently"
      
      * "replace functor"
      
      * "fix inline template error"
      
      * "fix tensor array with CopyFrom"
      
      * "fix other case use CopyFrom"
      
      * "move the op interface hardly"
      
      * "fix operators"
      
      * "fix typo"
      
      * "delete dynamic recurrent rnn and fix gru_unit in debugmode"
      
      * "fix unique_ptr copy"
      
      * "fix cuda copy"
      
      * "fix namespace error"
      
      * "removed nccl python test"
      
      * "fix include error"
      
      * "fix typo"
      
      * fix copy util test
      45062fe5
  29. 07 11月, 2017 1 次提交
    • Y
      Add unittest, backward of array read/write op (#5409) · 6cde889b
      Yu Yang 提交于
      * Use stable_sort in lod_rank_table
      
      It is easy to debug and test when use `stable_sort`and the time
      complexity is not changed.
      
      * Add LoDTensorArray
      
      * Stash
      
      * Better debug message for IsInitialized
      
      * Stash
      
      * Better debug message for IsInitialized
      
      * Complete array read/write op unittests
      
      * Add unittest, Gradient of array read/write
      
      * Follow comments
      6cde889b
  30. 02 11月, 2017 1 次提交
    • Y
      Rewrite StaticRNN with Executor (#5224) · 0a32e74d
      Yu Yang 提交于
      * Init commit
      
      * Make executor use ProgramDescBind
      
      * Change Attribute from BlockDesc to BlockDescBind
      
      * Since we will get the program desc in RNN, just BlockDesc is not
        enough.
      
      * Add DeviceContext to Executor API
      
      * Rewrite RNN
      
      * Pass Python
      
      * AddBiasOp does not care num_flatten_dims
      
      * Stash
      
      * Fix MacOS Compile
      
      * Pass RNN forward
      
      * add python test
      
      * refactor test
      
      * Make compile pass
      
      * add gradopmaker
      
      * First draft done
      
      * Polish code
      
      * add grad op maker and grad infershape
      
      * Polish code
      
      * Fix backward.cc bug
      
      * Fix infershape
      
      * Rename function
      
      * add backward test
      
      * simplify recurrent test
      
      * Update
      
      * Pass unittest
      
      * Add comments & refine test
      
      * Add comments
      
      * refactor test
      
      * Complete Unittest
      
      * fix StepScopes enforce
      
      * Remove unused unittest
      
      * no type error
      
      * Update
      
      * Make RNN Pass unittest
      0a32e74d
  31. 29 10月, 2017 1 次提交
    • Q
      support sparse output for lookup table grad op (#5145) · 008f40ce
      QI JUN 提交于
      * add sparse support for sum op
      
      * typo fix
      
      * fix gpu build error
      
      * fix unittest error
      
      * typo fix
      
      * infer var type and shape in op_test
      
      * follow comments
      
      * fix build error
      
      * bypass some unittests depend on NetOp
      
      * support sparse output for lookup table grad op
      
      * refine codes
      
      * fix gpu build error
      
      * fix lookup table grad gpu kernel
      
      * fix ci
      
      * fix ci
      
      * fix ci
      
      * fix bug in lookup_table_grad op
      
      * fix bug in test_word2vec
      
      * register double kernel for some operators
      
      * set is_sparse=True in test_word2vec
      
      * fix lookup table grad op CUDA kernel bug
      
      * disable test_modified_huber_loss_op temporarily
      
      * disable test_lstm_unit_op temporarily
      008f40ce