1. 10 2月, 2018 2 次提交
  2. 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
  3. 29 10月, 2017 1 次提交
    • Q
      support sparse output for lookup table grad op (#5145) · 008f40ce
      QI JUN 提交于
      * add sparse support for sum op
      
      * typo fix
      
      * fix gpu build error
      
      * fix unittest error
      
      * typo fix
      
      * infer var type and shape in op_test
      
      * follow comments
      
      * fix build error
      
      * bypass some unittests depend on NetOp
      
      * support sparse output for lookup table grad op
      
      * refine codes
      
      * fix gpu build error
      
      * fix lookup table grad gpu kernel
      
      * fix ci
      
      * fix ci
      
      * fix ci
      
      * fix bug in lookup_table_grad op
      
      * fix bug in test_word2vec
      
      * register double kernel for some operators
      
      * set is_sparse=True in test_word2vec
      
      * fix lookup table grad op CUDA kernel bug
      
      * disable test_modified_huber_loss_op temporarily
      
      * disable test_lstm_unit_op temporarily
      008f40ce
  4. 17 10月, 2017 1 次提交
  5. 14 10月, 2017 1 次提交
  6. 29 9月, 2017 1 次提交
  7. 28 9月, 2017 1 次提交
  8. 27 9月, 2017 1 次提交
  9. 26 9月, 2017 2 次提交
  10. 23 9月, 2017 1 次提交
  11. 22 9月, 2017 2 次提交
  12. 19 9月, 2017 1 次提交
  13. 14 9月, 2017 1 次提交
  14. 13 9月, 2017 2 次提交
  15. 19 8月, 2017 1 次提交
  16. 15 8月, 2017 2 次提交
  17. 08 8月, 2017 1 次提交
  18. 07 8月, 2017 2 次提交
  19. 06 8月, 2017 1 次提交
  20. 05 8月, 2017 1 次提交
  21. 01 8月, 2017 1 次提交
    • Q
      use operator context and infer context (#3024) · 61ebacbc
      Qiao Longfei 提交于
      * use operator context
      
      * optimize code
      
      * update net infershape
      
      * update InferShape
      
      * disable override InferShape(scope) in OperatorBase
      
      * change InferShapeImpl to InferShape
      
      * add template to OperatorContext Input/Output
      
      * merge Input InputVar, Output OutputVar
      
      * change Inputs to MultiInput
      
      * fix conflict
      
      * fix MultiInput bugs and add unit test
      
      * rename KernelContext to ExecutionContext
      
      * clean code
      
      * change InferShape to protected
      
      * fix template bug
      
      * refine code
      
      * use InputVar instead of Input<Variable>
      
      * typo
      
      * optimize code
      61ebacbc
  22. 25 7月, 2017 1 次提交
  23. 21 7月, 2017 1 次提交
    • Q
      add cross-entropy-op (#2965) · 26857659
      Qiao Longfei 提交于
      * add cross-entropy-op
      
      * add infershape and compute
      
      * implement Infershape and compute of onehotcrossentropy op
      26857659
  24. 19 7月, 2017 2 次提交
  25. 17 7月, 2017 3 次提交
  26. 14 7月, 2017 1 次提交
  27. 13 7月, 2017 2 次提交
    • Y
      Follow comments · 79b70c2d
      Yu Yang 提交于
      * Convert `op` --> `operators`
      * Remove AddType in OpProtoMaker, because type is part of registry.
      * Rename CPU_OR_GPU --> DEVICE_TYPE in registry macro.
      79b70c2d
    • Y
      Add a sample op, `add_op` · a0aaafe9
      Yu Yang 提交于
      * Refine register methods, make Op can get rid of whole-archieve
      * `USE_OP` before a op is used.
      * Add unittest for add_op.
      a0aaafe9