1. 12 6月, 2023 1 次提交
  2. 31 3月, 2023 1 次提交
  3. 25 3月, 2023 1 次提交
  4. 20 3月, 2023 2 次提交
    • 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
    • G
      Fluid clean move out fill constant (#49511) · c985b1ac
      GGBond8488 提交于
      * migrate fill_constant to paddle.tensor
      
      * move fill_constant to paddle.tensor and repalce the reference
      
      * add missing fill_constant replacement
      
      * fix typro
      
      * remove unused import fill_constant
      
      * fix zeros import error
      
      * fix circle import
      
      * fix layers.zeros
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * use paddle.full replace fill_constant in samplecode
      
      * fix sample code
      
      * recovery xpu test
      
      * recovery xpu test
      
      * fix circle import
      
      * fix utils import error
      
      * fix utils error
      
      * fix circle import
      
      * redo
      
      * fix circle import
      
      * fix prim fill constant import
      
      * fix type error
      
      * fix increase error
      
      * fix test error
      
      * fix fill_constant
      c985b1ac
  5. 17 1月, 2023 1 次提交
  6. 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
  7. 19 12月, 2022 1 次提交
  8. 13 12月, 2022 1 次提交
  9. 12 12月, 2022 1 次提交
  10. 09 12月, 2022 1 次提交
  11. 08 12月, 2022 1 次提交
  12. 02 12月, 2022 1 次提交
    • C
      remove softmax api from fluid (#48388) · a3ae080a
      Charles-hit 提交于
      * move softmax to paddle2.0
      
      * fix some bugs
      
      * resolve conflict
      
      * remove some code
      
      * modify code style
      
      * fix bugs
      
      * fix code
      
      * fix move code
      
      * fix some bugs
      
      * fix code
      
      * fix some code
      
      * modify the header file
      
      * fix bugs
      
      * fix some examples
      
      * fix mish example
      
      * fix code
      a3ae080a
  13. 01 12月, 2022 1 次提交
  14. 29 11月, 2022 1 次提交
  15. 28 11月, 2022 1 次提交
  16. 03 11月, 2022 1 次提交
  17. 23 10月, 2022 1 次提交
  18. 19 10月, 2022 1 次提交
  19. 27 9月, 2022 1 次提交
  20. 17 8月, 2022 1 次提交
    • N
      [CodeStyle][NPU] use np.testing.assert_allclose instead of... · 2de0d676
      Nyakku Shigure 提交于
      [CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988)
      
      * autofix
      
      * try resolve precision issues
      
      * revert some changes
      
      * clean some `err_msg`
      
      * 0.0001 -> 1e-4
      
      * update commented assert code
      
      * try to fix some shape errors
      
      * `numpy` -> `np`
      
      * empty commit, trigger kunlun ci, test=kunlun
      
      * empty commit, retrigger kunlun ci, test=kunlun
      
      * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun
      
      * try fix npu import error, test=kunlun
      2de0d676
  21. 06 7月, 2022 1 次提交
    • X
      [Dy2static] FunctionScopeVisitor Enhance and substitute the original NameVisitor in If (#43967) · b603dd55
      xiongkun 提交于
      * add support for control flow block analysis
      
      * move FunctionNameLivenessAnalysis into utils
      
      * pass test_ifelse.py
      
      * remove duplicate data_layer_not_check
      
      * pass the test_ifelse.py
      
      * fix unittest error .
      
      * fix all ci error in first version
      
      * temporay disable CreateVariableTransformer
      
      * fix ci errors
      
      * fix function name liveness analysis bugs
      
      * modifty def cond
      
      * fix
      
      * fix ci error - v2
      
      * fix by code review
      
      * change return_name_ids -> return_name
      b603dd55
  22. 05 7月, 2022 1 次提交
  23. 27 6月, 2022 1 次提交
  24. 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
  25. 30 5月, 2022 1 次提交
  26. 30 3月, 2022 1 次提交
  27. 24 3月, 2022 1 次提交
  28. 04 1月, 2022 1 次提交
    • 0
      [Dy2st]Fix error when set buffer in forward (#38540) · 1e3f01ed
      0x45f 提交于
      * fix error when set buffer in forward
      
      * add unittest
      
      * refine class name
      
      * refine not framework.in_dygraph_mode() in if
      
      * fix UT error
      
      * add comment
      
      * refine code
      
      * remove useless import
      1e3f01ed
  29. 13 12月, 2021 1 次提交
  30. 09 4月, 2021 1 次提交
  31. 24 11月, 2020 1 次提交
  32. 19 11月, 2020 1 次提交
  33. 03 6月, 2020 1 次提交
  34. 13 5月, 2020 1 次提交
  35. 08 5月, 2020 1 次提交
  36. 10 4月, 2020 1 次提交
  37. 04 4月, 2020 2 次提交
  38. 03 4月, 2020 1 次提交
    • Z
      support if logic for Variable in dygraph (#22892) · 7ca836d3
      zhongpu 提交于
      * support if logic for Variable in dygraph, test=develop
      
      * fix test_learning_rate_scheduler.py, test=develop
      
      * fix optest, test=develop
      
      * fix error message, test=develop
      
      * fix optest,test=develop
      
      * fix comment, test=develop
      7ca836d3