1. 21 8月, 2023 1 次提交
  2. 31 7月, 2023 1 次提交
    • N
      [xdoctest] reformat example code with google style in `paddle/jit` (#55645) · 0c3b3698
      Nyakku Shigure 提交于
      * [xdoctest] reformat example code for paddle.jit.api
      
      * test=docs_preview
      
      * add some ... for decorator
      
      * skip some example, test=docs_preview
      
      * add ..., test=docs_preview
      
      * skip some test, test=docs_preview
      
      * more jit files, test=docs_preview
      
      * remove some empty lines, test=docs_preview
      
      * format program translator, test=docs_preview
      
      * remove a blank line, test=docs_preview
      
      * skip translated layer.program, test=docs_preview
      
      * fix doc format, test=docs_preview
      0c3b3698
  3. 10 7月, 2023 1 次提交
  4. 12 6月, 2023 1 次提交
  5. 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
  6. 28 4月, 2023 1 次提交
  7. 27 4月, 2023 1 次提交
  8. 18 4月, 2023 1 次提交
  9. 07 4月, 2023 1 次提交
  10. 31 3月, 2023 1 次提交
  11. 30 3月, 2023 1 次提交
  12. 23 3月, 2023 1 次提交
  13. 20 3月, 2023 1 次提交
    • G
      【fluid clean】Move out layers and layers helper (#49415) · 1d5cad23
      GGBond8488 提交于
      * remove no used fluid beam_search_decoder
      
      * move Layer and related helper to paddle.nn.common
      
      * modify Layer references from dygraph.layers.Layer to paddle.nn.common.layers
      
      * stash changge
      
      * remove fluid layer_object_helper, layers.py
      
      * remove fluid layers init
      
      * add setip
      
      * fix unitest
      
      * delete layers in fluid.dygraph
      
      * merge paddle.tensor.stat,py
      
      * fix circle import
      
      * fix curcle import
      
      * remove redundant in_dygraph_mode import
      
      * revoce paddle.nn.common.* in fluid.__init__
      
      * recovery nn.rnn
      
      * paddle.frame use lazy import import paddle.jit to avoid circle import
      
      * remove left dygraph.layers ref
      
      * merge develop
      
      * fix import error
      
      * fix test error
      
      * fxi merge error
      
      * fix test fluid.Layer
      
      * fix test error
      
      * fix test error
      
      * fix import error
      
      * fix import error
      
      * fix comments
      
      * fix circle import
      
      * fix rnn import error
      
      * fix circle import
      1d5cad23
  14. 09 3月, 2023 1 次提交
    • 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
  15. 24 2月, 2023 1 次提交
  16. 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
  17. 17 1月, 2023 1 次提交
  18. 22 12月, 2022 1 次提交
  19. 16 12月, 2022 1 次提交
  20. 29 11月, 2022 1 次提交
  21. 26 11月, 2022 1 次提交
  22. 17 11月, 2022 1 次提交
  23. 08 11月, 2022 1 次提交
  24. 03 11月, 2022 1 次提交
  25. 27 10月, 2022 1 次提交
  26. 25 10月, 2022 1 次提交
    • N
      [CodeStyle][py2] remove `paddle.compat` (#47269) · ea8e87fa
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `paddle.compat`
      
      * remove compat from `paddle.__init__`
      
      * enable_static in sample code
      
      * Revert "enable_static in sample code"
      
      This reverts commit ffccaa633900154ea5f3d056e746aae9a1927399.
      
      * enable_static in sample code
      ea8e87fa
  27. 23 10月, 2022 1 次提交
  28. 19 10月, 2022 1 次提交
  29. 18 10月, 2022 1 次提交
    • N
      [CodeStyle][py2] remove `compat` module (to_text) (#47036) · ad4c773b
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `compat` module (to_text)
      
      * remove some unnecessary decode
      
      * remove to_text definition and unittest
      
      * Revert "remove to_text definition and unittest"
      
      This reverts commit a6b69cb8dca8b9b031ce10ea32d1040e7e0dd267.
      
      * remove an assertion
      
      * empty commit
      ad4c773b
  30. 17 10月, 2022 1 次提交
    • N
      [CodeStyle][py2] remove `compat` module (to_bytes) (#47035) · 198c7993
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `compat` module (to_bytes)
      
      * remove some unused imports
      
      * clean up to_bytes definition and unittests
      
      * Revert "clean up to_bytes definition and unittests"
      
      This reverts commit e726539e1768172a411ff60e63fab82f164343cf.
      
      * use `b` prefix instead of `encode()`
      198c7993
  31. 27 9月, 2022 1 次提交
  32. 14 9月, 2022 1 次提交
  33. 29 8月, 2022 1 次提交
    • Z
      [new_exe] Dy2Static support new_executor (#44450) · aba1295b
      zhangbo9674 提交于
      * add interpretercore
      
      * refine backward program id
      
      * add code
      
      * refine program
      
      * refine code
      
      * create forward/backward_program by prog2graph2prog method
      
      * test, do not care
      
      * refine code
      
      * refine code
      
      * refine code
      
      * test, do not care
      
      * add interpretorcore
      
      * add scope
      
      * refine scope create method
      
      * add jit for new_exe
      
      * solve conflict
      
      * delete unused code
      
      * polish code
      
      * polish code
      
      * refine scope in inplace
      
      * refine for datatransfer
      
      * refine _rebuild_from_desc
      
      * refine control eager deletion attr
      
      * refine used_for_jit
      
      * refine jit for infer
      
      * op size0 use ori program
      
      * polish code
      
      * refine jit
      
      * refine run_program_op ut
      
      * refine inplace
      
      * refine control
      
      * refine graph helper
      
      * refine control
      
      * refine inplace
      
      * refine buffer_share_inplace_pass
      
      * polish code
      
      * polish code
      
      * refine usage for compilerProgram
      
      * refine control
      
      * test
      
      * test core cache
      
      * refine code
      
      * refine io.py
      
      * increase test_seq2seq timeout
      
      * refine convert program
      
      * refine interpretercore_cache release
      
      * delete buildinplace
      
      * refine partial_program && io
      
      * refine code for io
      
      * test
      
      * test
      
      * test
      aba1295b
  34. 26 8月, 2022 1 次提交
  35. 27 7月, 2022 1 次提交
  36. 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
  37. 02 6月, 2022 1 次提交
  38. 30 3月, 2022 1 次提交
  39. 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
  40. 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