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. 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
  3. 15 10月, 2019 1 次提交
  4. 09 10月, 2019 1 次提交
    • J
      fix API doc, solve conflict, test=develop, test=document_fix (#20196) (#20319) · 42ea819e
      JesseyXujin 提交于
      * fix APIs,test=develop,test=document_fix
      
      * fix conflict, test=develop, test=document_fix
      
      * fix confict, test=develop, test=document_fix
      
      * fix confict, test=develop, test=document_fix
      
      * fix API.spec, test=develop, test=document_fix
      
      * change fluid.layers.data to fluid.data,test=develop, test=document_fix
      
      * fix bug on example code, test=develop, test=document_fix
      
      * fix API.spec,  test=develop, test=document_fix
      42ea819e
  5. 07 10月, 2019 1 次提交
    • Y
      Refactor linear chain crf op & crf decoding op (#19982) (#20171) · ea065e32
      Yibing Liu 提交于
      * Update crf_decoding api & example
      
      * Update api spec
      
      * Fix linear chain crf api
      
      * Avoid sharing data pointer with input
      
      * Simplify the logic in linear_chain_crf_decoding
      
      * Add unittest for crf_decoding when label & path both are set
      
      * Update API spec
      
      * Add unittest for layers && correct infer_shape in chunk_eval
      
      test=release/1.6
      ea065e32
  6. 02 9月, 2019 1 次提交
    • J
      add padding in linear_chain_crf op (#19583) · 4a7e6deb
      JesseyXujin 提交于
      * add padding in linear_chain_crf op
      
      * modify API.spec
      
      * add linear_chain_crf_op.cc and linear_chain_crf_op.h
      
      * remove useless unit test , test=develop
      
      * modify API.spec, test=develop
      
      * remove some blanks in nn.py , test=develop
      
      * fix some bugs on nn.py and API.spec ,test=develop
      
      * fix nn.py, test=develop
      
      * fix API.spec ,test=develop
      
      * fix bug of CI test in test_linear_chain_crf_op.py
      
      * fix bug of CI test in test_linear_chain_crf_op.py, test=develop
      
      * remove paddle_enforce, test=develop
      
      * remove paddle_enforce, test=develop
      
      * remove paddle_enforce, test=develop
      
      * remove paddle_enforce, test=develop
      
      * remove paddle_enforce, test=develop
      
      * remove paddle_enforce, test=develop
      
      * modify nn.py, test=develop
      
      * fix API.spec, test=develop
      
      * fix unittest bug, test=develop
      4a7e6deb
  7. 16 4月, 2019 3 次提交
  8. 27 3月, 2019 1 次提交
  9. 19 2月, 2019 1 次提交
  10. 07 1月, 2019 1 次提交
  11. 12 12月, 2018 1 次提交
  12. 12 6月, 2018 1 次提交
  13. 08 6月, 2018 1 次提交
  14. 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
  15. 19 4月, 2018 1 次提交
  16. 17 4月, 2018 1 次提交
  17. 12 2月, 2018 1 次提交
  18. 10 2月, 2018 2 次提交
  19. 19 1月, 2018 1 次提交
  20. 08 1月, 2018 1 次提交
    • Q
      cpu gpu transform function (#7191) · 0f353ab4
      Qiao Longfei 提交于
      * add rename guard
      
      * add device_data_transform
      
      * add device_data_transform_test
      
      * modify GetExpectedKernelType
      
      * update operator.run
      
      * support test test_label_semantic_roles
      
      * optimize code
      
      * optimize code
      
      * rename GetActualKernelType to GetExpectedKernelType
      
      * fix chunk_eval_op and device_data_transform_test
      
      * add is_same_place to place
      
      * optimize code, refine rename_guard
      
      * refine rename guard, add GetKernelTypeForVar
      
      * optimize code
      
      * add some log
      
      * rename guard
      
      * use sub scope to create var
      
      * fix compile
      
      * add IsInitialized for Tensor
      
      * add VarIsTensor
      
      * fix op_registry_test
      
      * test
      
      * tmp disable priority
      
      * restore switch_kernel.md
      
      * code clean
      0f353ab4
  21. 25 12月, 2017 1 次提交
    • Q
      Impl kernel hint (#6883) · af0c4c45
      Qiao Longfei 提交于
      * init kernel hint
      
      * fix typo
      
      * rm unused code
      
      * add include in op_kernel.h
      
      * restore op_kernel since it will be moved to op_kernel_type
      
      * change force_cpu to use_cpu
      
      * fix compilation
      af0c4c45
  22. 20 12月, 2017 1 次提交
  23. 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
  24. 23 11月, 2017 1 次提交
  25. 08 11月, 2017 1 次提交
    • Y
      Polish OpWithKernel · bbdac7f7
      Yu Yang 提交于
      * Chage `IndicateDataType` to `GetKernelType`. Make it easier to
        understand.
      * Change `OpKernelKey` to `OpKernelType`
      * Make operator developers can customize which kernel the operator will
        use in runtime.
      bbdac7f7
  26. 05 11月, 2017 1 次提交
  27. 04 11月, 2017 1 次提交
  28. 31 10月, 2017 2 次提交
  29. 27 10月, 2017 3 次提交
  30. 25 10月, 2017 1 次提交
  31. 24 10月, 2017 1 次提交
  32. 23 10月, 2017 1 次提交
  33. 17 10月, 2017 1 次提交
  34. 12 10月, 2017 1 次提交