1. 14 3月, 2023 3 次提交
  2. 13 3月, 2023 1 次提交
    • 【Hackathon No.89】 Remove circle import Part2 (#51199) · 34358de5
      张春乔 提交于
      * fix the only one circle import in call_transformer.py
      
      * move define of CONVERSION_OPTIONS from convert_call_func.py to program_translator.py
      
      * delete the self import of program_translator.py
      
      * fix import failed problem
      
      * define variable in utils.py
      
      * move is_builtin to utils.py
      
      * move is_builtin to utils.py
      
      * fix import errors
      
      * fix import errors
      
      * fix something
      
      * Update python/paddle/jit/dy2static/call_transformer.py
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      
      * Update python/paddle/jit/dy2static/call_transformer.py
      
      ---------
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      34358de5
  3. 09 3月, 2023 2 次提交
    • Z
      Remove paddle.fluid.layers.utils.* (#51033) · 86e990d4
      zqw_1997 提交于
      * move fluid.utils to paddle.utils.layers_utils
      
      * fix error
      
      * delete original fluid layers utils
      
      * remove import and old utils
      
      * remove more old utils import
      
      * change import path of fill_constant in the layers_utils.py
      
      * fix mistake
      
      * fix error
      
      * expose in __init__.py
      
      * for comment
      
      * when change the ref of func is_sequence, it should change to the root of is_sequence instead
      
      * for codecheck
      86e990d4
    • A
      [Dy2St]Enhance @to_static auto-skip paddle inner API (#50596) · 4474e085
      Aurelius84 提交于
      * [Dy2St]Enhance @to_static auto-skip paddle inner API
      
      * fix comment
      
      * fix class method
      4474e085
  4. 02 3月, 2023 1 次提交
  5. 24 2月, 2023 1 次提交
  6. 21 2月, 2023 3 次提交
    • C
      [OpTest] support prim test in OpTest (#50509) · 457defe7
      Charles-hit 提交于
      * support prim test in OpTest
      
      * fix cmake
      
      * fix op test
      
      * fix test_input_spec
      
      * disable cinn in reduce_sum unit test
      
      * add bfloat16 dtype for sum
      
      * polish code
      
      * add clear jit program function
      
      * convert grad out from tensor to numpy
      
      * remove unnecessary code
      
      * add only_prim flag
      
      * fix flag
      
      * fix op test
      
      * fix optest comp inplace error
      
      * fix op test
      
      * fix op test with guard
      
      * add initialization of check_comp flag
      
      * fix comp inplace error in op test
      
      * rename check_comp with check_prim and add bfloat16 dtype convert
      
      * rename comp_op_type to prim_op_type
      
      * rename comp to prim
      
      * remove useless code
      
      * skip ci check for only prim
      
      * add no_grad_vars and grad_outputs in prim test
      
      * fix var_dict
      
      * fix op test for only_prim
      
      * fix dy2static bugs
      
      * polish some code
      457defe7
    • W
      Flatten input_spec when check neg shape (#50692) · 9b0b155b
      WangZhen 提交于
      * Flatten input_spec when check neg shape
      
      * Fix cycle import
      9b0b155b
    • W
      Check -1 shape for input_spec and program when prim or cinn enabled (#50473) · 1e7dc9c0
      WangZhen 提交于
      * Check -1 shape for input_spec and program when prim or cinn enabled
      
      * Polish neg shape check
      
      * Polish code
      
      * Fix UT
      
      * Fix UT in static
      1e7dc9c0
  7. 20 2月, 2023 1 次提交
  8. 14 2月, 2023 1 次提交
  9. 08 2月, 2023 1 次提交
  10. 03 2月, 2023 1 次提交
  11. 20 1月, 2023 1 次提交
  12. 17 1月, 2023 1 次提交
  13. 11 1月, 2023 1 次提交
    • R
      [Dy2St] 移除 ProgramTranslator (#49628) · 2bb28f31
      Ryan 提交于
      * add enable_to_static and drop some methods of ProgramTranslator
      
      * fix code style
      
      * fix cant import enable_to_static and update unitest
      
      * change unitest and rollback code of PT
      
      * fix can't import as of utils
      
      * roll back PT
      
      * fix roll back
      
      * add some unitest
      
      * add unitest and fix codestyle bug in api.py
      
      * finish all unitest
      
      * remove ProgramTranslator
      
      * fix code style
      
      * restore test_program_translator
      
      * api.py remove get_func
      
      * TestDygraphToStaticCode
      
      * fix check_type and import err
      
      * roll back PT without getcode
      
      * roll back pt with get_code
      
      * convert_to_static
      
      * fix import __all__
      2bb28f31
  14. 09 1月, 2023 1 次提交
  15. 30 12月, 2022 1 次提交
  16. 13 12月, 2022 1 次提交
  17. 08 12月, 2022 1 次提交
  18. 01 12月, 2022 1 次提交
  19. 29 11月, 2022 1 次提交
  20. 28 11月, 2022 1 次提交
  21. 08 11月, 2022 1 次提交
  22. 03 11月, 2022 1 次提交
  23. 23 10月, 2022 1 次提交
  24. 19 10月, 2022 1 次提交
  25. 27 9月, 2022 1 次提交
  26. 21 9月, 2022 1 次提交
  27. 14 9月, 2022 1 次提交
  28. 09 9月, 2022 1 次提交
    • X
      [ Dy2Static ] convert_call support staticmethod for class. (#44983) · d0096eaf
      xiongkun 提交于
      * convert_call support staticmethod for class.
      
      * while support for python container.
      It is convenient to convert more dynamic graph codes into static graphs.
      
      * cond support python container
      
      * add unittest for staticmethod convert_call
      
      * fix bugs
      
      * add unittest for item interface
      
      * fix bugs
      
      * change to np.testing.assert_allclose
      
      * code format
      
      * fix comments.
      
      * code format
      d0096eaf
  29. 02 8月, 2022 1 次提交
  30. 30 6月, 2022 1 次提交
  31. 09 6月, 2022 1 次提交
  32. 08 6月, 2022 1 次提交
  33. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  34. 02 6月, 2022 1 次提交
  35. 01 6月, 2022 1 次提交