1. 26 10月, 2020 1 次提交
  2. 30 9月, 2020 1 次提交
  3. 29 9月, 2020 1 次提交
    • H
      [Dy2stat] Refine Dy2stat APIs to 2.0rc (#27430) · cc2fc938
      Huihuang Zheng 提交于
      Refine Dy2stat APIs to 2.0rc
      
      After discussion, we accepted 3 key points from reviewers:
      
      1. In 2.0rc we changed dygraph_to_static folder to dy2static
      2. Keep the three files: convert_call_func.py, convert_operators.py, variable_trans_func.py
      3. Remove convert_operators path when users import convert_xxx. 
      
      After this PR, users can import convert_xxx APIs by:
      
      `import paddle.jit.dy2static.convert_xxx`
      
      The file structure will be:
      
      ```
      jit
          dy2static
                convert_operators.py
                convert_func_call.py
                variable_trans_func.py
      ```
      
      Detail changed API in files:
      
      In python/paddle/jit/dygraph_to_static/convert_call_func.py:
      from ...fluid.dygraph.dygraph_to_static.convert_call_func import convert_call  #DEFINE_ALIAS
      
      In python/paddle/jit/dygraph_to_static/convert_operators.py:
      from ...fluid.dygraph.dygraph_to_static.convert_operators import cast_bool_if_necessary  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_assert  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_ifelse  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_len  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_and  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_not  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_or  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_print  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_var_dtype  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_var_shape  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_while_loop  #DEFINE_ALIAS
      
      In python/paddle/jit/dygraph_to_static/variable_trans_func.py:
      from ...fluid.dygraph.dygraph_to_static.variable_trans_func import create_fill_constant_node  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.variable_trans_func import create_static_variable_gast_node  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.variable_trans_func import data_layer_not_check  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.variable_trans_func import to_static_variable  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.variable_trans_func import to_static_variable_gast_node  #DEFINE_ALIAS
      cc2fc938
  4. 28 9月, 2020 1 次提交
  5. 23 9月, 2020 1 次提交
  6. 18 9月, 2020 1 次提交
  7. 07 9月, 2020 1 次提交
  8. 31 8月, 2020 1 次提交
    • Q
      Move hapi to python/paddle root dir. (#26442) · f7fb4c22
      qingqing01 提交于
      * Move hapi form paddle/incubate to paddle
      
      * Remove vision/datasets/utils.py and clean code
      
      * Add sample code for conll05
      
      * Print pull path when saving model
      
      * Fix sample code after paramter_list of SGD is changed to parameters
      
      * Fix bug in wmt16 datase
      f7fb4c22
  9. 21 8月, 2020 1 次提交
    • Q
      support Baidu Kunlun AI Accelerator (#25959) · 138ecf24
      QingshuChen 提交于
      * support Baidu AI Accelerator
        * test=kunlun
      
      * minor
       * test=kunlun
      
      * support xpu op in separate file
       * test=kunlun
      
      * update XPU error message and remove duplicated code
      
       * test=kunlun
      
      * minor
       * test=kunlun
      
      * minor
       * test=kunlun
      138ecf24
  10. 20 8月, 2020 1 次提交
  11. 13 8月, 2020 2 次提交
    • D
      【paddle.fleet】paddle.fleet -> paddle.distributed.fleet. (#26186) · 50a5bcfc
      Dong Daxiang 提交于
      * move paddle.fleet to paddle.distributed.fleet
      50a5bcfc
    • L
      Feature/Enable Auto-Mixed-Precision in dynamic graph (#24903) · 2d95280e
      Leo Chen 提交于
      * add auto_cast, test=develop
      
      * add loss scaler, test=develop
      
      * add comments, test=develop
      
      * refine code, test=develop
      
      * refine code, test=develop
      
      * do not set flags automatically, test=develop
      
      * fix custom op bug, test=develop
      
      * add more test, test=develop
      
      * refine enable logic, test=develop
      
      * enable amp test with GPU, test=develop
      
      * add unittest
      
      * add test for found_inf
      
      * follow comments
      
      * follow comments
      
      * remove global variable, use singleton
      
      * add some notes
      
      * update comments
      
      * update comments
      
      * update comments
      
      * add use_dynamic_loss_scaling argument
      
      * refine found_inf
      
      * refine found_inf
      2d95280e
  12. 11 8月, 2020 1 次提交
    • P
      Paddle-2.0 API directory migration (#25898) · 2efcb481
      pangyoki 提交于
      * Directory migration, test=develop
      
      * Change imperative from paddle init to paddle framework, test=develop
      
      * Fixed jit bug, test=develop
      
      * default static mode, test=develop
      
      * fixed format and create parameter belongs to framework, test=develop
      
      * Fixed import package, test=develop
      
      * fix __init__ format, test=develop
      
      * fixed alias problem
      
      * fixed paddle.enable_imperative problems, test=develop
      
      * Add unittest
      
      * delete install_check comment
      
      * Fixed unittest timeout
      
      * fixed unittest error
      
      * move Program default_xx_program to static package
      
      * optimize unittest method
      
      * fixed framework __init__ format
      
      * fixed jit path
      
      * delete alias
      
      * move jit to paddle
      
      * Fixed unittest format
      
      * fixed paddle.default_main_program
      
      * Fixed save load API in paddle __init__.py
      
      * fixed ci paddle.imperative.to_variable
      2efcb481
  13. 08 8月, 2020 1 次提交
  14. 07 8月, 2020 1 次提交
  15. 05 8月, 2020 1 次提交
  16. 31 7月, 2020 1 次提交
  17. 30 7月, 2020 1 次提交
  18. 24 7月, 2020 1 次提交
  19. 20 7月, 2020 1 次提交
  20. 15 7月, 2020 1 次提交
  21. 14 7月, 2020 1 次提交
    • C
      [Dy2static] Refactor ProgramTranslator save_inference_model API (#24989) · 41d22472
      Chen Weihang 提交于
      * experimental refactoring, test=develop
      
      * add TranslatedLayer & remove StaticModelRunner, test=develop
      
      * revert tracedlayer change, test=develop
      
      * fix test_mnist unittest error, test=develop
      
      * add doc & examples, test=develop
      
      * polish doc details, test=develop
      
      * add imperative.jit module, test=develop
      
      * change TranslatedLayer pos, test=develop
      
      * adjust jit module import path, test=develop
      
      * polish doc based review result
      
      * add SaveLoadConfig.separate_params to save paraams separately
      
      * add Layer.buffer support, test=develop
      
      * polish doc details based review result, test=develop
      
      * polish details baesd review comments, test=develop
      
      * add empty str check for param, test=develop
      
      * add unittests, test=develop
      
      * polish details based review comment, test=develop
      
      * remove blanks in comment, test=develop
      
      * polish doc details, test=develop
      
      * update imperative doc link, test=develop
      
      * add api attr for load, test=develop
      41d22472
  22. 11 7月, 2020 1 次提交
  23. 06 7月, 2020 1 次提交
  24. 29 6月, 2020 1 次提交
  25. 09 6月, 2020 1 次提交
  26. 28 5月, 2020 1 次提交
  27. 15 5月, 2020 1 次提交
    • H
      Api move 20a (#24559) · 2b6d0049
      hong 提交于
      * add base name alias; test=develop
      
      * fix embedding bug; test=develop
      
      * fix io error; test=develop
      
      * add metric; test=develop
      
      * add import palce; test=develop
      
      * add setup; test=develop
      
      * fix incubate reader; test=develop
      
      * fix initializer error; test=develop
      2b6d0049
  28. 14 5月, 2020 1 次提交
    • G
      Add hapi.text and corresponding unit test. (#24457) · aa02e347
      Guo Sheng 提交于
      * Add hapi.text and corresponding unit test.
      test=develop
      
      * Remove hapi.text apis' reuse parameter args for coverage.
      test=develop
      
      * Fix TransformerCell and TransformerBeamSearchDecoder example codes.
      test=develop
      
      * Fix example codes in hapi.text.
      test=develop
      
      * Add some apis in hapi.text into example code white list.
      test=develop
      
      * Fix example code of DynamicDecode in hapi.text.
      text=develop
      
      * Rename Model.self as model in test_text.py
      test=develop
      aa02e347
  29. 13 5月, 2020 1 次提交
    • L
      Add vision api for hapi (#24404) · 1a0d26a4
      LielinJiang 提交于
      * add vision
      
      * fix predict, test=develop
      
      * add unittest for vision apis, test=develop
      
      * fix typos
      
      * add hapi models api, test=develop
      
      * fix code format, test=develop
      
      * fix typos, test=develop
      
      * fix sample code import, test=develop
      
      * fix sample codes, test=develop
      
      * add decompress, test=develop
      
      * rm darknet, test=develop
      
      * rm debug code, test=develop
      1a0d26a4
  30. 11 5月, 2020 1 次提交
    • Q
      Add a high-level API with traning and inference into Paddle. (#24293) · 43625bda
      qingqing01 提交于
      * Merge hapi into Paddle
      
      Hapi is a high level API for training and inference.
      The main modules include Model, Loss, Metrics, Dataset.
      Also includes common modules and models in NLP and computer vision, such as BERT, ResNet.
      
      These modules are developed by:
      0YuanZhang0, guoshengCS heavengate, LielinJiang, qingqing01, xyzhou-puck huangjun12, wangxiao1021, zhangyang.
      43625bda
  31. 01 5月, 2020 1 次提交
  32. 30 4月, 2020 1 次提交
    • Y
      Move complex into dir incubate (#24254) · fb82d72c
      Yibing Liu 提交于
      * Move complex into dir incubate, test=develop
      
      * Fix imports, test=develop
      
      * Fix docs, test=develop
      
      * Forbid import functions from paddle.incubate directly, test=develop
      fb82d72c
  33. 23 4月, 2020 1 次提交
    • Y
      Init complex number neural network (#24018) · 720d1899
      Yibing Liu 提交于
      * Init complex number neural network, test=develop
      
      * Improve doc writing, test=develop
      
      * Fix elementwise add & sub, test=develop
      
      * Fix elementwise mul act, test=develop
      
      * a) add ut for complex variable; b) remove arg act in elementwise_ops. test=develop
      720d1899
  34. 21 4月, 2020 1 次提交
  35. 20 4月, 2020 2 次提交
  36. 14 4月, 2020 2 次提交
  37. 13 4月, 2020 1 次提交
    • G
      Add new API : randn (#23211) · 73f421f7
      guofei 提交于
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * aAdd new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      73f421f7