1. 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
  2. 02 3月, 2023 1 次提交
  3. 24 2月, 2023 1 次提交
  4. 23 2月, 2023 1 次提交
  5. 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
  6. 20 2月, 2023 1 次提交
  7. 17 2月, 2023 1 次提交
  8. 14 2月, 2023 2 次提交
  9. 10 2月, 2023 1 次提交
  10. 09 2月, 2023 1 次提交
  11. 08 2月, 2023 1 次提交
  12. 03 2月, 2023 1 次提交
  13. 02 2月, 2023 1 次提交
    • X
      【PRIM】Support use operator's output metadata info in constructing static... · d8643cb6
      Xiaoxu Chen 提交于
      【PRIM】Support use operator's output metadata info  in constructing static backward composite (#50043)
      
      * [prim] support custom target_gradients
      
      * support infershape after append one gradop
      
      * [prim] add simple net test
      
      * fix test_loop segment fault bug
      
      * [prim] fix infer shape segment fault bug when output of grad_op_desc is empty
      d8643cb6
  14. 20 1月, 2023 1 次提交
  15. 17 1月, 2023 4 次提交
  16. 12 1月, 2023 1 次提交
  17. 11 1月, 2023 2 次提交
    • A
      [D2SCinn]Fix self.infer_program always build cinn pass without cache (#49696) · 18a7e13f
      Aurelius84 提交于
      * [D2SCinn]Fix self.infer_program always build cinn pass without cache
      
      * fix infer op size
      18a7e13f
    • 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
  18. 10 1月, 2023 1 次提交
  19. 09 1月, 2023 2 次提交
  20. 06 1月, 2023 1 次提交
  21. 05 1月, 2023 1 次提交
  22. 03 1月, 2023 2 次提交
  23. 30 12月, 2022 2 次提交
  24. 29 12月, 2022 1 次提交
  25. 19 12月, 2022 1 次提交
  26. 16 12月, 2022 1 次提交
  27. 14 12月, 2022 1 次提交
  28. 13 12月, 2022 2 次提交