1. 29 3月, 2023 1 次提交
  2. 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
  3. 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
  4. 19 12月, 2022 2 次提交
  5. 16 12月, 2022 1 次提交
    • 学渣戊's avatar
      fix docstring (#49044) · 4460c757
      学渣戊 提交于
      * fix docstring:
      1. 去除 python/paddle/fluid/dygraph/nn.py 中 BatchNorm 类说明中示例代码里 numpy 的使用,为参数 data_layout 说明中 "NCHW" 里的各字母含义做了具体说明;
      2. 为 python/paddle/nn/functional/norm.py 中 batch_norm 函数中参数 data_format 说明中的 "NCDHW" 里的各字母含义做了具体说明;
      3. 为 python/paddle/nn/layer/norm.py 中 BatchNorm、BatchNorm1D、BatchNorm2D 以及 BatchNorm3D 类中参数 data_format 说明中的 "NCDHW" 里的各字母含义做了具体说明;
      4. 修正 python/paddle/nn/layer/loss.py 中 BCELoss 类的 Shapes 说明格式错误问题,以及 BCEWithLogitsLoss 类的 Shapes 说明格式错误问题和 Examples 出错问题;
      5. 修改 python/paddle/nn/functional/loss.py 中 binary_cross_entropy 函数以及 binary_cross_entropy_with_logits 函数 Returns 说明的描述,使它们与其他函数说明相似;
      6. 将 python/paddle/nn/decode.py 中 BeamSearchDecoder 类 `__init__` 方法 docstring 里的参数说明提前到类说明中去。
      
      * 根据 Review 意见进行修改。
      
      * 修正 在线文档 中提及的错误。
      4460c757
  6. 08 12月, 2022 2 次提交
  7. 29 4月, 2021 1 次提交
  8. 27 4月, 2021 1 次提交
    • Z
      update 2.0 public api in nn (#31912) · 3b81f2b8
      zhiboniu 提交于
      * update 2.0 public api in nn
      
      * replace Chinese character cause error in ci;synchronization with pr:#32588 to avoid 'ascii' codec in python2
      
      * numbers used in paddle.nn.functional.norm but not imported
      3b81f2b8
  9. 16 10月, 2020 1 次提交
    • G
      Clean text.py and decode.py for API 2.0 (#26853) · 01335815
      Guo Sheng 提交于
      * Make dynamic_decode support dygraph and expose to API 2.0
      test=develop
      
      * update info about BeamSearchDecoder and dynamic_decode
      
      * remove all APIs in paddle.text, expose BeamSearchDecoder and dynamic_decode
      
      * update example code
      
      * delete test_text.py, decode.py, update some doc, fix example code float64
      
      * delete decode import from paddle.nn
      
      * fix unittest bugs
      
      * use dygraph.Embedding instead of nn.Embedding, add paddle.enbale_static()
      
      * update, correct doc
      
      * move dynamic_decode, BeamSearchDecoder API to paddle.nn
      
      * fix code style
      
      * update unittest param, delete import pf text.py
      
      * set dtype of beamsearchtest float64
      
      * update example code of BeamSearchDecoder, dynamic_decode
      Co-authored-by: NLiuChiaChi <709153940@qq.com>
      01335815
  10. 26 4月, 2020 1 次提交
  11. 23 3月, 2020 1 次提交
  12. 17 9月, 2018 1 次提交
  13. 03 9月, 2018 1 次提交
  14. 15 8月, 2018 1 次提交
  15. 26 7月, 2018 1 次提交
  16. 18 6月, 2018 1 次提交
  17. 09 6月, 2018 1 次提交
  18. 24 5月, 2018 1 次提交
  19. 18 5月, 2018 1 次提交
  20. 17 5月, 2018 2 次提交
  21. 16 5月, 2018 1 次提交
  22. 12 5月, 2018 1 次提交
    • Q
      Add inferencer infer (#10445) · 2a971f30
      Qiao Longfei 提交于
      * add Inference.infer
      
      * optimize code
      
      * update no_test_word2vec_new_api.py
      
      * update trainer
      
      * split check_and_get_place
      
      * use inference_program to save inference model in Trainer
      
      * update demo
      
      * update save_inference_model
      
      * clean code
      2a971f30
  23. 05 5月, 2018 1 次提交
    • J
      Trainer save load params (#10386) · bd66eed5
      Jeff Wang 提交于
      * Load/save the params from the params_path
      
      * Switch to use load_persistables and save_persistables
      
      * Instaed of setup the executor to run program and scope. Pass the program to the load_persistables
      bd66eed5
  24. 03 5月, 2018 1 次提交
    • H
      improve trainer API · a66052c6
      Helin Wang 提交于
      - The trainer and inferencer will load params from disk if param_path
        argument is not None in their constructor.
      
      - Remove params.py, we will expose core.Scope to the user if needed
        (e.g., for GAN). Currently we will not expose it, unless we clearly
        know doing so can support GAN.
      
      - Add `save_params` to Trainer (a TODO item).
      
      - rename "network" to "program"
      a66052c6
  25. 02 5月, 2018 4 次提交
  26. 12 2月, 2018 1 次提交
  27. 21 1月, 2018 1 次提交
    • D
      "fix decode bug" (#7711) · e983cc90
      dzhwinter 提交于
      * "fix decode bug"
      
      * "follow commnet"
      
      * "fix error"
      
      * "fix hook bug"
      
      * fix based comment
      
      * fix copyright
      
      * fix based on comment
      e983cc90
  28. 15 1月, 2018 1 次提交
    • D
      Feature/hooks (#7513) · b9b75377
      dzhwinter 提交于
      * add copyright hook
      
      * add copyright hook
      
      * refine copyright hook
      
      * "test copyright hook"
      
      * fix check style
      
      * fix ci
      b9b75377
  29. 12 11月, 2016 1 次提交
  30. 28 9月, 2016 1 次提交