1. 17 9月, 2019 1 次提交
    • L
      fix expand op: (#19302) · e9e3c087
      liym27 提交于
      1. add tensor support for argument expand_times in expand op;
      2. add support parameter inference when argument expand_times is a list containing integer and tensor variable;
      
      improve expand op according to reviews:
      1. add doc of ExpandTimes in expand_op.cc;
      2. improve the test of test_api.
      
      add stop_gradient=True when attr(expand_times) is tensor Variable, change code examples.
      test=develop,test=document_preview
      e9e3c087
  2. 10 9月, 2019 1 次提交
  3. 04 6月, 2019 1 次提交
    • H
      expand op supprt tensor attribute (#17773) · dfec6762
      Hongyu Liu 提交于
      * expand support tensor attribute; test=develop
      
      * fix bug ; test=develop
      
      * fix uni test bug; test=develop
      
      * fix copy bug; test=develop
      
      * refine expand_times default value; test=develop
      dfec6762
  4. 14 3月, 2019 2 次提交
  5. 12 3月, 2019 1 次提交
  6. 11 3月, 2019 1 次提交
  7. 13 2月, 2019 1 次提交
  8. 14 1月, 2019 1 次提交
  9. 11 1月, 2019 1 次提交
  10. 15 11月, 2018 4 次提交
  11. 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
  12. 20 4月, 2018 1 次提交
  13. 19 4月, 2018 2 次提交
  14. 17 4月, 2018 1 次提交
  15. 12 2月, 2018 1 次提交
  16. 10 2月, 2018 2 次提交
  17. 16 1月, 2018 1 次提交
  18. 20 12月, 2017 1 次提交
  19. 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
  20. 10 11月, 2017 2 次提交
  21. 09 11月, 2017 1 次提交
  22. 13 9月, 2017 2 次提交