1. 17 1月, 2022 1 次提交
    • W
      [Pten] Replace platform::Place to pten::Place. (#38899) · c48a9ad5
      Wilber 提交于
      * add pten::Place data structure.
      
      * update ci problem
      
      * fix ci problem
      
      * update
      
      * using platform::Place=pten::Place
      
      * remove BOOST_GET_CONST for CPUPlace and GPUPlace
      
      * compile pass 25%.
      
      * compile pass 45%
      
      * compile pass 60%
      
      * remove boost_get for xpu npu mlu and ipu
      
      * compile pass on cpu and gpu.
      
      * fix compile problem
      
      * fix compile error.
      
      * update
      
      * fix ci problem
      
      * update
      
      * ci approve
      
      * fix ci problem
      
      * fix ci eager test problem
      
      * remove BOOST_GET_CONST
      
      * fix npu compile
      c48a9ad5
  2. 03 12月, 2021 1 次提交
  3. 19 3月, 2021 2 次提交
  4. 08 3月, 2021 1 次提交
  5. 23 2月, 2021 1 次提交
  6. 19 2月, 2021 1 次提交
  7. 02 11月, 2020 1 次提交
  8. 29 9月, 2020 1 次提交
  9. 08 9月, 2020 1 次提交
  10. 11 7月, 2020 1 次提交
  11. 05 6月, 2020 1 次提交
  12. 11 5月, 2020 1 次提交
    • C
      Add macro BOOST_GET to enrich the error information of boost :: get (#24175) · aa0f254f
      Chen Weihang 提交于
      * add new macro BOOST_GET_SAFELY & unittests, test=develop
      
      * add different macro type, test=develop
      
      * fix get macro type in executor, test=develop
      
      * four macro part change backup
      
      * using one macro for all case, test=develop
      
      * revert attribute change, test=develop
      
      * change to three func to solve gcc4.8 bug, test=develop
      
      * polish some details, test=develop
      aa0f254f
  13. 11 4月, 2020 1 次提交
  14. 04 4月, 2020 1 次提交
    • C
      Delete Ref & VectorRef and add GetDataSafely (#22997) · 16315d3d
      Chen Weihang 提交于
      * delete invalid check inferface Ref & VectorRef, test=develop
      
      * fix vector ref delete error, test=develop
      
      * try the new check inferface, test=develop
      
      * change all related code with new check macro, test=develop
      
      * remove static assert, test=develop
      
      * polish detail, test=develop
      
      * skip coverage problem, test=develop
      
      * add new check macro, test=develop
      16315d3d
  15. 29 11月, 2019 1 次提交
    • H
      Add dygraph execution context (#20157) · ac854670
      hong 提交于
      * add_dygraph_execution_context
      
      * add dygraph infershape context and execution context; test=develop
      
      * fix imperative bug; test=develop
      
      * remove inputs outputs interface from execution context,
      because it have same function with inputNames;
      test=develop
      
      * remove tracer_test ctest; test=develop
      
      * fix split op bug; test=develop
      
      * fix unitests bug; test=develop
      
      * fix distribute test bug; test=develop
      
      * fix ngraph compile bug; test=develop
      
      * fix grad maker bug; test=develop
      
      * fix load op bugs; test=develop
      
      * fix operator.cc construct bug; test=develop
      
      * remove useless name find in operator; test=develop
      
      * add tracer_test; test=develop
      
      * fix concat, split bug; test=develop
      
      * remove tracer_test unitest; test=develop
      
      * fix attribute check bug; test=develop
      
      * add test code to fix converage; test=develop
      
      * remove useless code, change check backward input in engin; test=develop
      
      * unlock var type infer shape;test=develop
      
      * add ShareAllLoD api; test=develop
      
      * add dygraph infershape context unitest; test=develop
      
      * remove increase and decrease lod in dygraph; test=develop
      
      * addd override; test=develop
      
      * fix increase descrease lod; test=develop
      
      * fix paddle_enforce; test=develop
      
      * disable lod op dygraph check; test=develop
      
      * fix paddle enforce error; test=develop
      
      * add comment for op_registry and OperatorBase; test=develop
      
      * optimize the comment of op_registry; test=develop
      
      * fix format of comment; test=develop
      
      * fix format of comment; test=develop
      
      * optimize the format of comment; test=develop
      
      * optimize the format of the comment; test=develop
      
      * optimize comment of op_registry; test=develop
      ac854670
  16. 10 6月, 2019 1 次提交
  17. 22 4月, 2019 1 次提交
  18. 19 10月, 2018 1 次提交
  19. 02 10月, 2018 1 次提交
  20. 28 9月, 2018 2 次提交
    • Y
      refactor(op): polish generate_proposals_op · 593ad763
      Yu Yang 提交于
      Polish styles in generate_proposals_op.
      
      1. inline lambda functions rathar than use std::function to save var.
      2. add `static inline` to template functions .cc
         * Make them static to prevent generating symbols.
         * Make them inline to give compiler a hit inline them as possible.
         * Not if the function is not static, they cannot be inlined since the
           symbols should be exported.
      3. add `static` to global functions in .cc
         * Make them static to prevent generating symbols.
      4. Use Vector<uint64> instead manually manange storage between devices.
      5. Prefer to use platform::ForRange, so we can optimize `ForRange` by
         just changing `for_range.h` if it is needed.
      6. Do not change shape of inputs
      
      test=develop
      593ad763
    • Y
      refactor(memory): rewrite memory allocation and make it extentable · 58ed412f
      Yu Yang 提交于
      Use OO style to rewrite memory allocation.
      58ed412f
  21. 27 9月, 2018 1 次提交