1. 20 7月, 2023 1 次提交
  2. 19 7月, 2023 1 次提交
    • J
      disable __setitem__ in static mode & add API paddle.static.setitem with dy2st strategy (#53682) · 7849d58d
      JYChen 提交于
      * add paddle.static.setitem
      
      * add some help doc
      
      * support setitem
      
      * support machanism
      
      * add more unittest
      
      * remove usless code
      
      * raise error in static setitem
      
      * fix d2s UT
      
      * remove static only for both-used code
      
      * fix bool set_value in static, fix set_value_op UT
      
      * fix unittests
      
      * [May case some error]: remove inplace-version check
      
      * add two test case for dy2st
      
      * fix function in vision
      
      * fix dy2st setitem support, refine UT case
      
      * fix slice in static_mode
      
      * add ParametersMap
      
      * remove pop
      
      * modify place
      
      * [fix]: variable is also a tensor
      
      * rewrite some ut & remove slicetransformer in dy2st
      
      * solve error in static-mode
      
      * fix ut
      
      * return a result for set_array_write
      
      * fix test_set_value_op_xpu
      
      * code is different in dynamic / static mode
      
      ---------
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      Co-authored-by: NNotHaozi <zhangmenghao@baidu.com>
      7849d58d
  3. 18 7月, 2023 1 次提交
  4. 12 6月, 2023 1 次提交
  5. 09 6月, 2023 1 次提交
  6. 02 6月, 2023 1 次提交
  7. 22 5月, 2023 1 次提交
    • M
      [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() (#53856) · 3794d171
      Meteor Liu 提交于
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * fixed cyclic reference that caused patial import
      
      * fixed bad change
      
      * fix bad import
      
      * fix bad import
      
      * fix bad import
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fixed usage of in_dynamic_mode() or in_dygraph_mode()
      
      * revert python3 to python in .pre-commit-config.yaml
      
      * fix merge conflicts
      3794d171
  8. 18 5月, 2023 1 次提交
  9. 16 5月, 2023 1 次提交
  10. 08 5月, 2023 1 次提交
  11. 28 4月, 2023 1 次提交
  12. 27 4月, 2023 2 次提交
  13. 25 4月, 2023 1 次提交
    • Q
      [fluid clean] remove Print. (#51778) · ed45ecc6
      qizhaoaoe 提交于
      * fluid clean: remove print/switch from fluid to static
      
      * remove Switch in static.__init__
      
      * fix conflicts.
      
      * replace Switch by case.
      
      * fix piecewise_lr decay.
      
      * fix typo
      
      * fix conflicts.
      
      * fix lr dtype
      
      * keep Switch in paddle.static.nn.control_flow and fix piecewise_lr.
      
      * fix conflicts.
      
      * keep Switch in the fluid.
      
      * fix Switch doc
      
      * fix example in Switch doc
      
      * fix Switch doc.
      
      * fix static/__init__.
      ed45ecc6
  14. 24 4月, 2023 1 次提交
  15. 21 4月, 2023 1 次提交
  16. 14 4月, 2023 1 次提交
    • Y
      [AMP] Unify the static amp codes of fp16 and bf16. (#52694) · dfcba7f4
      Yiqun Liu 提交于
      * Unify the static amp codes of fp16 and bf16.
      
      * Polish apis and add unittest.
      
      * Add operator stats collecting tools for program.
      
      * Add the check of number of bloat16 operators in unittest.
      
      * Add warning for operator not supported for amp.
      
      * Add testing of BF16 O1 and O2.
      dfcba7f4
  17. 13 4月, 2023 1 次提交
  18. 11 4月, 2023 2 次提交
  19. 10 4月, 2023 1 次提交
  20. 09 4月, 2023 1 次提交
  21. 07 4月, 2023 2 次提交
  22. 04 4月, 2023 2 次提交
  23. 31 3月, 2023 1 次提交
  24. 30 3月, 2023 3 次提交
  25. 29 3月, 2023 1 次提交
  26. 28 3月, 2023 5 次提交
  27. 27 3月, 2023 1 次提交
  28. 25 3月, 2023 1 次提交
  29. 23 3月, 2023 2 次提交