1. 21 11月, 2019 1 次提交
    • C
      Cherry-pick error type support for release1.6 (#21294) · 974b8a83
      Chen Weihang 提交于
      * delete paddle infershape enforce marco (#20832)
      
      * Polish and arrange code in enforce.h (#20901)
      
      * Enrich the type of error and declare the error type interfaces (#21024)
      
      * Enrich the type of error and declare the error type interfaces, test=develop
      
      * adjust tests to adapt new form, test=develop
      
      * add inference deps with error_codes.pb.h, test=develop
      
      * restore stack iter start pos, test=develop
      
      * polish code based review comments, test=develop
      
      * Add dependency for error_codes.proto (#21084)
      
      * fix activation_functions deps, test=develop, test=document_fix
      
      * add error_codes_proto deps, test=develop, test=document_fix
      
      * try delete enforce.h, test=develop, test=document_fix
      
      * change cuda enforce & add example (#21142)
      test=release/1.6
      974b8a83
  2. 04 11月, 2019 1 次提交
  3. 29 10月, 2019 1 次提交
    • C
      [Cherry-pick to 1.6] Block part of "tensor should not be null" error message (#20845) · d29e9aa4
      Chen Weihang 提交于
      * Add IndicateVarDataType interface to block tensor is not initialized problem in OP GetExceptedKernelType (#20044)
      
      * add indicate_var_data_type inferface, test=develop
      
      * add unittests & polish error message, test=develop
      
      * remove needless include, test=develop
      
      * extract public function & polish message, test=develop
      
      * delete empty var check, test=develop
      
      * change data_type to pointer parameter, test=develop
      
      * polish details, test=develop
      
      * Replace risky GetInputType method with secure IndicateVarDataType interface (#20668)
      
      * replace part of the old implementation, test=develop
      
      * restore concat op, test=develop
      
      * update all ops implemention & delete GetDataTypeOfVar func, test=develop
      
      test=release/1.6
      d29e9aa4
  4. 27 9月, 2019 1 次提交
  5. 26 9月, 2019 1 次提交
  6. 26 7月, 2019 1 次提交
  7. 10 7月, 2019 1 次提交
  8. 09 7月, 2019 1 次提交
  9. 16 6月, 2019 1 次提交
  10. 14 5月, 2019 1 次提交
    • K
      support fc_op double grad (#17317) · 60be66e2
      Kaipeng Deng 提交于
      * add double grad for mul_op. test=develop
      
      * fix format. test=develop
      
      * fix format. test=develop
      
      * fix format. test=develop
      
      * refine code. test=develop
      
      * remove setzero. test=develop
      
      * fix dx/dy init bug. test=develop
      
      * fix format. test=develop
      60be66e2
  11. 19 12月, 2018 1 次提交
  12. 18 12月, 2018 2 次提交
  13. 26 11月, 2018 1 次提交
  14. 14 11月, 2018 1 次提交
  15. 09 11月, 2018 1 次提交
    • C
      Add InferVarType for some op (#14201) · 6c6e6385
      chengduo 提交于
      * add_infer_var_type
      test=develop
      
      * InferVarTypeHelper-> VarTypeInferenceHelper
      test=develop
      
      * PassInputTypeAndDTypeOnOutput
       test=develop
      
      * follow comment
      test=develop
      6c6e6385
  16. 08 11月, 2018 1 次提交
  17. 17 9月, 2018 1 次提交
  18. 22 8月, 2018 1 次提交
  19. 30 5月, 2018 1 次提交
  20. 08 5月, 2018 1 次提交
    • Y
      Clean OpProtoAndCheckerMaker · 0e78cb69
      Yu Yang 提交于
      Do not use ctor
      
      * Reduce line of codes.
      * We can use virtual function for Maker now.
      * The implementation does not care what maker holds, it is easier to
      refactor later.
      0e78cb69
  21. 02 5月, 2018 1 次提交
  22. 19 4月, 2018 1 次提交
  23. 17 4月, 2018 2 次提交
  24. 12 4月, 2018 1 次提交
  25. 15 3月, 2018 1 次提交
    • K
      Add fp16 mul op support and bind paddle fp16 to numpy fp16 (#9017) · e26f1123
      Kexin Zhao 提交于
      * add fp16 mul op support
      
      * small fix
      
      * fix bug
      
      * small fix
      
      * fix PADDLE_WITH_CUDA compiling issue
      
      * reorg code
      
      * test for pybind
      
      * treate as float16 as uint16_t in pybind
      
      * bind np.float16 to paddle float16
      
      * small fix
      
      * clean code
      
      * remove redundancy
      
      * fix mul_op test
      
      * address comments
      
      * small fix
      
      * add is_float16_supported func
      e26f1123
  26. 12 2月, 2018 1 次提交
  27. 10 2月, 2018 2 次提交
  28. 23 12月, 2017 1 次提交
  29. 21 12月, 2017 1 次提交
  30. 20 12月, 2017 3 次提交
  31. 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
  32. 05 11月, 2017 1 次提交
  33. 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
  34. 27 10月, 2017 1 次提交
  35. 24 10月, 2017 1 次提交