1. 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
  2. 12 12月, 2017 2 次提交
    • G
      Add ChunkEvaluator for multi-batches · 9a89b041
      guosheng 提交于
      9a89b041
    • 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
  3. 05 12月, 2017 1 次提交
    • Q
      add chunk eval layer (#6296) · 161128ba
      Qiao Longfei 提交于
      * add crf_decoding layer
      
      * fix some typo
      
      * init trunk_evaluator
      
      * add trunk_evaluator layer
      
      * update chunk_eval_op and test, change int32 to int64
      
      * fix a numeric problem
      
      * change layers.trunk_evaluator to layers.trunk_eval
      
      * fix typo
      
      * add precision_val
      161128ba
  4. 09 11月, 2017 1 次提交
  5. 23 10月, 2017 1 次提交