1. 21 3月, 2022 1 次提交
    • H
      Merge some test bug (#40543) · 56c43ccd
      hong 提交于
      * switch eager mode and change it
      
      * set default is eager
      
      * set default is eager
      
      * fix error; test=develop
      
      * fix some error; test=develop
      
      * update
      
      * upd
      
      * update code; test=develop
      
      * update
      
      * fix some bug; test=develop
      
      * fix bug; test=develop
      
      * fix bug; test=develop
      
      * fix bug; test=develop
      
      * fix error; test=develop
      
      * format; test=develop
      Co-authored-by: NJiabinYang <360788950@qq.com>
      56c43ccd
  2. 08 7月, 2021 1 次提交
  3. 24 6月, 2021 1 次提交
  4. 21 6月, 2021 1 次提交
  5. 15 6月, 2021 1 次提交
  6. 09 6月, 2021 1 次提交
    • W
      paddle.save support object save to memory. (#32999) · cdd6437a
      WeiXin 提交于
      * support state_dict save to memory.
      
      * Perfect unittest
      
      * perfect unittest.
      
      * suport saving binary var to memory
      
      * polish code.
      
      * packag save/load files into pybind/io.py
      
      * polish code .
      
      * add example for save to memory; remove useless save load function(_load_static_dict,_save_dygraph_dict)
      
      * delete _load_static/dygraph_dict;_save_static/dygraph_dict
      
      * edit example of paddle.save/load
      cdd6437a
  7. 19 5月, 2021 1 次提交
  8. 25 4月, 2021 1 次提交
    • W
      paddle.save/load support nested structure and layer (#32446) · 727b28d7
      WeiXin 提交于
      * support save/load binary format tensor
      
      * Fix error when create cudaplace
      
      * Fix error when create cudaplace
      
      * Fix error when create cudaplace
      
      * get devive context from pool.
      
      * move define of 'SerializeToStream' and 'DeserializeFromStream' to 'lod_tensor.cc' and 'selected_rows.cc'.
      
      * support complex object
      
      * improve coverage.
      
      * improve coverage
      
      * improve coverage.
      
      * fix a bug.
      
      * polish API
      
      * save/load program
      
      * paddle.save/load: layer
      
      * deal with conflict
      
      * if PY2, block test_paddle_save_load.TestSaveLoadLayer
      
      * polish code.
      
      * polish code
      
      * edit unnittest
      
      * The condition for object to be identified as state_dict becomes strict
      
      * use 'core._cuda_synchronize'
      727b28d7
  9. 20 4月, 2021 1 次提交
  10. 02 4月, 2021 1 次提交
    • W
      support save/load single tensor (#31756) · 43367e4b
      WeiXin 提交于
      * support save/load single tensor
      
      * compatibility modification according to unnittest
      
      * Some python2.7 don't have 'copyreg' modules
      
      * Handle a syntax error.
      
      * Dealing with compatibility problems on Mac.
      
      * Dealing with compatibility problems on Mac.
      
      * edit unittest to improve coverage.
      
      * Modify the code according to the review comments
      
      * Reduce redundant code.
      
      * support for static graph loading dygraph state_dict
      
      * edit code according to CI
      
      * edit unittest
      
      * edit unnittest
      
      * delete redundant file
      
      * edit code according to Comments
      
      * edit english doc
      
      * edit english doc
      
      * edit English DOC.
      
      * get/set_tensor->get/set_value; return_numpy=False
      
      * get/set_tensor->get/set_value; return_numpy=False
      
      * edit unnittest
      
      * edit unnittest
      
      * polish code.
      43367e4b
  11. 23 2月, 2021 1 次提交
  12. 18 1月, 2021 1 次提交
    • W
      Avoid bug on 'MAC python3.5/6'. (#30485) · 18ecd433
      WeiXin 提交于
      * Avoid  bug on 'MAC python3.5/6'.
      
      * Choose the saving method according to the OS.
      
      * smaller length of '_unpack_saved_dict' for MAC OS.
      
      * add version information of Python.
      
      * Edit comment.
      18ecd433
  13. 05 1月, 2021 1 次提交
    • W
      Support storage of large parameters (#29988) · f43e1d8c
      WeiXin 提交于
      * Support storage of large parameters
      
      * Reduce the complexity of the unittest
      
      * Reduce the complexity of the unittest,commented out unittest for
      
      * add unittest for static.save/load
      
      * Increase the timeout threshold of 'test_static_save_load'
      
      * Increase the timeout threshold of 'test_static_save_load'
      
      * Increase the timeout threshold of 'test_static_save_load' and 'test_paddle_save_load'
      
      * Increase the timeout threshold of 'test_static_save_load' and 'test_paddle_save_load'
      f43e1d8c
  14. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  15. 25 9月, 2020 1 次提交
  16. 23 9月, 2020 1 次提交
    • C
      Add new paddle.save/load APIs (#27331) · bb84f0e6
      Chen Weihang 提交于
      * init commit of new save/load
      
      * fix failed unittests
      
      * fix save_load_v2 unittest failed
      
      * fix failed unittest & polish doc
      
      * add tests for coverage
      
      * add more tests & move static apis
      
      * fix example code error
      
      * polish emample code
      
      * fix detail example code problem
      bb84f0e6