1. 07 10月, 2019 1 次提交
    • Y
      Refactor linear chain crf op & crf decoding op (#19982) · 01ad8d2e
      Yibing Liu 提交于
      * Update crf_decoding api & example
      
      test=develop
      
      * Update api spec
      
      test=develop
      
      * Fix linear chain crf api
      
      test=develop
      
      * Avoid sharing data pointer with input
      
      test=develop
      
      * Simplify the logic in linear_chain_crf_decoding
      
      * Add unittest for crf_decoding when label & path both are set
      
      test=develop
      
      * Update API spec
      
      test=develop
      
      * Add unittest for layers && correct infer_shape in chunk_eval
      
      test=develop
      01ad8d2e
  2. 15 8月, 2019 1 次提交
    • Y
      Add padding support for crf_decoding (#19057) · 50b1cab1
      Yibing Liu 提交于
      * Add padding support for crf_decoding
      
      * Fixes in comupte kernel
      
      test=develop
      
      * Update API Spec
      
      test=develop
      
      * Update API.spec
      
      test=develop
      
      * Avoid using paddle_enforce
      
      test=develop
      
      * Fix enforce
      
      test=develop
      50b1cab1
  3. 19 4月, 2019 1 次提交
  4. 19 2月, 2019 1 次提交
  5. 12 12月, 2018 1 次提交
  6. 13 6月, 2018 1 次提交
    • Y
      update · c58ba827
      yi.wu 提交于
      c58ba827
  7. 08 6月, 2018 1 次提交
  8. 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
  9. 12 2月, 2018 1 次提交
  10. 10 2月, 2018 2 次提交
  11. 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
  12. 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
  13. 20 12月, 2017 1 次提交
  14. 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
  15. 05 12月, 2017 1 次提交
  16. 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
  17. 04 11月, 2017 1 次提交