1. 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
  2. 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
  3. 16 4月, 2019 3 次提交
  4. 27 3月, 2019 1 次提交
  5. 19 2月, 2019 1 次提交
  6. 07 1月, 2019 1 次提交
  7. 12 12月, 2018 1 次提交
  8. 12 6月, 2018 1 次提交
  9. 08 6月, 2018 1 次提交
  10. 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
  11. 19 4月, 2018 1 次提交
  12. 17 4月, 2018 1 次提交
  13. 12 2月, 2018 1 次提交
  14. 10 2月, 2018 2 次提交
  15. 19 1月, 2018 1 次提交
  16. 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
  17. 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
  18. 20 12月, 2017 1 次提交
  19. 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
  20. 23 11月, 2017 1 次提交
  21. 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
  22. 05 11月, 2017 1 次提交
  23. 04 11月, 2017 1 次提交
  24. 31 10月, 2017 2 次提交
  25. 27 10月, 2017 3 次提交
  26. 25 10月, 2017 1 次提交
  27. 24 10月, 2017 1 次提交
  28. 23 10月, 2017 1 次提交
  29. 17 10月, 2017 1 次提交
  30. 12 10月, 2017 2 次提交