1. 09 3月, 2023 1 次提交
  2. 02 3月, 2023 1 次提交
  3. 24 2月, 2023 1 次提交
  4. 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
  5. 20 2月, 2023 1 次提交
  6. 14 2月, 2023 1 次提交
  7. 08 2月, 2023 1 次提交
  8. 03 2月, 2023 1 次提交
  9. 20 1月, 2023 1 次提交
  10. 17 1月, 2023 1 次提交
  11. 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
  12. 09 1月, 2023 1 次提交
  13. 30 12月, 2022 1 次提交
  14. 13 12月, 2022 1 次提交
  15. 08 12月, 2022 1 次提交
  16. 01 12月, 2022 1 次提交
  17. 29 11月, 2022 1 次提交
  18. 28 11月, 2022 1 次提交
  19. 08 11月, 2022 1 次提交
  20. 03 11月, 2022 1 次提交
  21. 23 10月, 2022 1 次提交
  22. 19 10月, 2022 1 次提交
  23. 27 9月, 2022 1 次提交
  24. 21 9月, 2022 1 次提交
  25. 14 9月, 2022 1 次提交
  26. 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
  27. 02 8月, 2022 1 次提交
  28. 30 6月, 2022 1 次提交
  29. 09 6月, 2022 1 次提交
  30. 08 6月, 2022 1 次提交
  31. 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
  32. 02 6月, 2022 1 次提交
  33. 01 6月, 2022 1 次提交
  34. 23 5月, 2022 1 次提交
  35. 29 4月, 2022 1 次提交
  36. 25 3月, 2022 1 次提交
    • J
      Refactor Dygraph Flags (#40786) · 3085d5e4
      Jiabin Yang 提交于
      * refactor eager flags
      
      * fix flags error when we switch from eager to dygraph
      
      * fix ci problem
      
      * fix ci
      
      * fix ci
      
      * merge develop and fix code style
      
      * merge develop and fix code style
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * merge develop
      3085d5e4
  37. 16 2月, 2022 1 次提交
  38. 24 12月, 2021 1 次提交