1. 23 7月, 2021 1 次提交
    • W
      Logical Ops support more data types (#34141) · 27417f1f
      will-jl944 提交于
      * logical ops support int8, int16, int32, int64, float, double
      
      * update docs of logical ops
      
      * fix npu and xpu logical ops
      
      * fix npu and xpu logical ops
      
      * fix bug in xpu logical op code
      
      * update test_logical_op_npu and test_logical_op_xpu
      
      * correct error type
      27417f1f
  2. 11 12月, 2020 1 次提交
  3. 12 2月, 2018 1 次提交
  4. 10 2月, 2018 2 次提交
  5. 26 12月, 2017 1 次提交
  6. 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
  7. 03 11月, 2017 1 次提交
  8. 02 11月, 2017 1 次提交
  9. 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
  10. 07 8月, 2017 1 次提交
  11. 04 8月, 2017 1 次提交
  12. 31 7月, 2017 1 次提交
  13. 25 7月, 2017 1 次提交
  14. 19 7月, 2017 1 次提交