1. 17 3月, 2022 1 次提交
    • 0
      Refine io for test_mnist.py (#40496) · 1e045cae
      0x45f 提交于
      * for test_mnist.py
      
      * remove comments
      
      * using type() replace isinstance()
      
      * valid vars for run program OP in io.py
      
      * open test_mnist in eager_gurad for coverage
      1e045cae
  2. 05 3月, 2022 1 次提交
  3. 24 2月, 2022 1 次提交
    • W
      [Eager] save load testcase (#39571) · 6b5749eb
      wanghuancoder 提交于
      * eager, test=develop
      
      * fix bug, test=develop
      
      * eager, test=develop
      
      * merge legacy to fluid
      
      * eager, test=develop
      
      * eager, test=develop
      
      * Refactor TensorAdd func by template and remove gradient_accumulation in eager
      
      * Remove needless target name
      
      * eager, test=develop
      
      * eager, test=develop
      
      * Use overload instead of template
      
      * Remove legacy code
      
      * Remove legacy code
      
      * selectedrows, test=develop
      
      * Remove DataType test
      
      * eager, test=develop
      
      * eager, test=develop
      
      * support gan, test=develop
      
      * Using Tensor directly instead of using EagerTensor
      
      * support gradient_accumulation
      
      * make test_imperative_lod_tensor_to_selected_rows longer
      
      * make test_imperative_lod_tensor_to_selected_rows longer
      
      * refine code
      
      * ptb, test=develop
      
      * Rename all EagerTensor to Tensor
      
      * Rename some EagerTensor to Tensor
      
      * rename EagerTensor to EagerVariable
      
      * eager, test=develop
      
      * eager, test=develop
      
      * eager, test=develop
      
      * eager, test=develop
      
      * add more test
      
      * eager, test=develop
      
      * Support copiable selected rows and merge develop
      
      * save load, eager, test=develop
      
      * save load, eager, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * revert static_runner, test=develop
      
      * EagerTensor to Tensor, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * clear grad, test=develop
      
      * merge, develop
      
      * merge, develop
      
      * merge, test=develop
      
      * merge, test=develop
      Co-authored-by: NJiabinYang <360788950@qq.com>
      Co-authored-by: NWeilong Wu <veyron_wu@163.com>
      6b5749eb
  4. 24 12月, 2021 1 次提交
  5. 15 12月, 2021 1 次提交
  6. 15 10月, 2021 1 次提交
  7. 27 7月, 2021 1 次提交
  8. 23 7月, 2021 1 次提交
  9. 22 7月, 2021 1 次提交
  10. 04 6月, 2021 1 次提交
    • H
      [Dy2stat] Add Support for paddle.grad (#33110) · 82630f38
      Huihuang Zheng 提交于
      This PR made these changes to support double grad:
      
      1. Translate `paddle.grad` to `paddle.static.gradients` to support double grad for dy2stat.
      2. Fix IfElseTransformer bug which may not change value if "Store before Load" variable is in "Store" statement is in IfElse conditional statement
      3. Add `DOut` to support double grad variables in `run_program_op`
      4. Add support for renaming for double grads for `jit.save/load`
      82630f38
  11. 27 4月, 2021 1 次提交
  12. 26 4月, 2021 1 次提交
  13. 11 1月, 2021 1 次提交
    • W
      Fix bug for 'save mutiple method' (#30218) · edafb546
      WeiXin 提交于
      * Fix bug for 'save mutiple method'
      
      * To pass coverage.
      
      * edit code to pass coverage.
      
      * edit code to pass coverage.
      
      * add unittest for coverage.
      
      * change for coverage.
      
      * edit for coverage.
      edafb546
  14. 18 12月, 2020 1 次提交
  15. 30 11月, 2020 1 次提交
    • W
      save model after jit.load (#28748) · 1476e1f9
      WeiXin 提交于
      * Changed a variable name error
      
      * Add comments
      
      * Move member functions of TranslatedLayer out of function
      
      * edit code according to review
      
      * Edit input argument of '_run_static_graph'
      
      * reset due to Segmentation fault
      
      * rename variables when stitching graph
      
      * modify code according CI
      
      * Add comments to '__i_m_p_l__'
      
      * remove blanks befor 'Get...'
      
      * edit code according to review
      
      * Add a comment to '_execution_method_creator'
      
      * Edit a comment to '_execution_method_creator'
      1476e1f9
  16. 25 11月, 2020 1 次提交
    • W
      Rename variables when use 'jit.load' (#28933) · fafadbab
      WeiXin 提交于
      * Rename variables when use 'jit.load'
      
      * Check whether the original graph contains the variable with the same name
      
      * add comment
      
      * rename output/input of op and edit unittest
      
      * modify the code according to CI
      
      * edit code according to CI
      
      * edit code according to CI
      
      * edit code according to CI
      
      * edit code according to CI
      
      * edit code according to CI
      
      * edit code according to CI
      fafadbab
  17. 23 11月, 2020 1 次提交
  18. 06 11月, 2020 1 次提交
    • W
      refine jit.save/load to add support for other method, not only forward (#28376) · b5e662f8
      WeiXin 提交于
      * refine jit.save/load to add support for other method, not only forward
      
      * refine the code based on unit tests
      
      * Add unit test for the code
      
      * Add unit test for the code
      
      * Modify the code according to the unit test
      
      * Delete useless comments, save only one info file, etc.
      
      * remove static_mode_white_list.pyc
      
      * edit the code that generate 'extra_var_info'
      b5e662f8
  19. 11 10月, 2020 1 次提交
  20. 29 9月, 2020 1 次提交
  21. 16 9月, 2020 1 次提交
  22. 11 9月, 2020 1 次提交
  23. 06 9月, 2020 1 次提交
  24. 03 9月, 2020 1 次提交
  25. 27 8月, 2020 1 次提交
  26. 21 8月, 2020 1 次提交
  27. 13 8月, 2020 1 次提交
  28. 07 8月, 2020 1 次提交
  29. 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