1. 27 4月, 2018 1 次提交
    • T
      Adam operator optimized with Eigen (#10229) · e498e1fc
      Tomasz Patejko 提交于
      * Some changes for Adam profiling
      
      * Adam optimization: initial Eigen optimization
      
      * Eigen Adam: flavour of adam can be chosen
      
      * Eigen Adam used for CPU by default. Plain Adam used for GPU
      
      * Eigen Adam: missing call to the Eigen functor added
      
      * Eigen Adam: revert changes in benchmarks
      
      * Eigen Adam: typo corrected
      e498e1fc
  2. 12 2月, 2018 1 次提交
  3. 10 2月, 2018 2 次提交
  4. 08 2月, 2018 1 次提交
  5. 31 1月, 2018 1 次提交
    • D
      Fix/lod (#7714) · ae7d1c1f
      dzhwinter 提交于
      * "Need to re-design LoD "
      
      * "add lod design"
      
      * "fix lod gpu ptr pointer"
      
      * "removed commented code"
      
      * "fix CI"
      
      * "remove set lod in pybind"
      
      * "fix style check"
      
      * "fix CI"
      
      * "fix long type template error"
      
      * "pybind reorder to use Place"
      
      * "fix ci"
      
      * "fix ci"
      
      * fix ci
      
      * "sperate as a new file"
      
      * "fix CI"
      
      * "fix ci"
      
      * small fix
      
      * "add test"
      
      * "fix adam op"
      
      * "fix lstmp op"
      
      * "fix adam op"
      
      * "follow comments"
      
      * "fix ci"
      ae7d1c1f
  6. 29 12月, 2017 2 次提交
  7. 26 12月, 2017 2 次提交
  8. 25 12月, 2017 2 次提交
  9. 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
  10. 21 11月, 2017 1 次提交
  11. 20 10月, 2017 1 次提交
  12. 13 10月, 2017 1 次提交
    • A
      Adding the Adam Optimizer operator (#4733) · 11680037
      Abhinav Arora 提交于
      * add adam op
      
      moment1_out = beta1 * moment1 + (1 − beta1) * grad
      moment2_out = beta2 * moment2 + (1 − beta2) * grad * grad
      moment1_hat =  moment1_out / (1 - beta1^t)
      moment2_hat =  moment2_out / (1 - beta2^t)
      param_out = param - learning_rate * moment1_hat / (sqrt(moment2_hat) +
      epsilon)
      
      * fix moment 2
      
      * Adding the Adam optimization operator
      
      * Adding more tests for Adam op
      11680037
  13. 10 10月, 2017 1 次提交
    • A
      Implementing the Adamax optimizer operator (#4538) · 4cb5bd90
      Abhinav Arora 提交于
      * Implementing the Adamax optimizer step operator
      * Adding unit tests for adamax_op
      
      * Changing learning rate and time step to inputs from attributes
      
      * Changing learning rate and time step to input(tensors)
      
      * Making the Adamax operator conform to naming convention
      
      * Removing Tensor<float> from comments
      
      * Rectifying the Adamax implementation
      
      * Changing Unit Test values and adding comments
      
      * Changing Unit Test to test multiple steps
      4cb5bd90
  14. 06 10月, 2017 1 次提交
  15. 03 10月, 2017 2 次提交
  16. 28 9月, 2017 1 次提交
  17. 06 9月, 2017 1 次提交
  18. 04 9月, 2017 1 次提交
  19. 03 9月, 2017 1 次提交
  20. 18 8月, 2017 1 次提交
  21. 07 8月, 2017 1 次提交
  22. 05 8月, 2017 1 次提交
  23. 02 8月, 2017 2 次提交
  24. 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
  25. 25 7月, 2017 1 次提交
  26. 19 7月, 2017 4 次提交
  27. 17 7月, 2017 3 次提交
  28. 14 7月, 2017 1 次提交
  29. 13 7月, 2017 1 次提交
    • 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