1. 15 5月, 2023 1 次提交
  2. 24 4月, 2023 1 次提交
  3. 20 4月, 2023 1 次提交
  4. 31 3月, 2023 1 次提交
  5. 25 3月, 2023 2 次提交
  6. 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
  7. 14 2月, 2023 1 次提交
  8. 01 2月, 2023 1 次提交
    • Z
      remove fluid.initializer.UniformInitializer, ConstantInitializer,... · 6edc7bba
      zqw_1997 提交于
      remove fluid.initializer.UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, BilinearInitializer, MSRAInitializer, NumpyArrayInitializer and calculate_gain.. (#49498)
      
      * move UniformInitializer and ConstantInitializer
      
      * more modify
      
      * circular import resolved
      
      * another circular import resolved?
      
      * more circular import 2
      
      * circular import 3
      
      * change import paddle in metric.py
      
      * BuildStrategy import from fluid
      
      * modify the framework import path in common.py
      
      * change rnn.py import, from static to original framework
      
      * change import static in the nn folder
      
      * default_main_program should import from common_ops_import
      
      * add import paddle in param_attr.py
      
      * use core not paddle module for using VarDesc
      
      * another old uniform
      
      * mistake that use Uniform instead of UniformInitializer
      
      * modify UniformInitializer doc
      
      * move fluid.NormalInitializer to nn.initializer.NormalInitializer
      
      * remove import of Normal in fluid.layers.nn.py
      
      * remove more import of old Normal
      
      * remove more import of old Normal
      
      * sample code modify and tests modify import
      
      * is_listen_failed passing arg should be log file
      
      * problem solved
      
      * a mistake solved
      
      * comments resoleved and remove paddle.fluid.initializer.TruncatedNormalInitializer
      
      * remove paddle.fluid.initializer.XavierInitializer and paddle.fluid.initializer.MSRAInitializer
      
      * remove paddle.fluid.initializer.BilinearInitializer NumpyArrayInitializer and set_global_initializer
      
      * change fluid to static
      
      * change static to fluid to avoid circular import in distributed_strategy.py
      
      * fix example code and test_initializer
      
      * ValueType
      
      * sample code fix
      
      * change set_global_initializer back to fluid
      
      * put paddle.static.BuildStrategy.ReduceStrategy into the fuction to avoid circular import
      
      * remove calculate_gain, delete BilinearInitializer and revert set_global_initializer
      
      * change the time of using UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, MSRAInitializer, NumpyArrayInitializer as few as possible
      
      * fix argument incampatible
      
      * fix more arg incompatible
      
      * fix test_prelu_op_xpu.py Constant
      
      * fix inaccurate doc
      
      * more doc fix: default value
      6edc7bba
  9. 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
  10. 03 1月, 2023 1 次提交
    • G
      Move out sequential and replace save_dygraph and load_dygraph (#48709) · 7ff66973
      GGBond8488 提交于
      * remove fluid.save_dygraph and fluid.load_dygraph use paddle.save and paddle.load instead
      
      * move Sequential to paddle.nn
      
      * modify convert_call_func.py Sequential reference
      
      * remove related unitests
      
      * remove fluid.dynamic.Sequntial
      
      * test remove conver_call_func
      
      * fix conflicts
      
      * fix typro
      
      * fix unitests
      
      * fix sample_code
      
      * fix unitest
      
      * fix __init__
      7ff66973
  11. 19 12月, 2022 1 次提交
  12. 16 12月, 2022 1 次提交
  13. 10 12月, 2022 1 次提交
    • W
      [remove fluid] fluid dygraph Embedding (#48806) · 6e356c68
      wangzhen38 提交于
      * [remove fluid] fluid dygraph Embedding
      
      * [remove fluid] fluid dygraph Embedding
      
      * [remove fluid] fluid dygraph Embedding
      
      * [remove fluid] fluid dygraph Embedding
      
      * [remove fluid] fluid dygraph Embedding
      
      * [remove fluid] fluid dygraph Embedding
      6e356c68
  14. 09 12月, 2022 1 次提交
  15. 06 12月, 2022 1 次提交
  16. 05 12月, 2022 1 次提交
  17. 01 12月, 2022 1 次提交
  18. 30 11月, 2022 1 次提交
    • W
      [remove fluid] under unittesets (#48212) · 7d6263e6
      wangzhen38 提交于
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      7d6263e6
  19. 29 11月, 2022 2 次提交
  20. 28 11月, 2022 1 次提交
  21. 22 11月, 2022 1 次提交
  22. 08 11月, 2022 1 次提交
  23. 03 11月, 2022 1 次提交
  24. 23 10月, 2022 1 次提交
  25. 12 10月, 2022 1 次提交
  26. 27 9月, 2022 1 次提交
  27. 26 8月, 2022 1 次提交
  28. 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
  29. 05 7月, 2022 1 次提交
  30. 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
  31. 18 5月, 2022 1 次提交
  32. 31 3月, 2022 1 次提交
  33. 28 3月, 2022 1 次提交
  34. 15 7月, 2021 1 次提交
  35. 27 11月, 2020 1 次提交
  36. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  37. 13 10月, 2020 1 次提交
  38. 11 10月, 2020 1 次提交