1. 13 4月, 2023 1 次提交
    • Z
      Add GaussianNLLLoss API. (#50843) · 802129b3
      Zman 提交于
      * Add GaussianNLLLoss API.
      
      * Change `rotl` `atol`.Check `var` in dynamic graph
      
      * remove assertTrue
      
      * update unittest
      
      * update unittest for ci-covarage.add broadcast with same dim.
      
      * Supply static err print.
      
      * Repair note and example.
      
      * Split unitest.
      
      * empty commit.
      
      * for standard commit.
      
      * for standard commit.
      
      * Add int dynamic graph test.
      
      * Repair parameters name.
      
      * Repair unitest parameters name.
      
      * Repair unitest parameters name
      
      * Repair unitest parameters name
      
      * Repair unitest parameters name
      
      * add square in code-block
      
      * fit few notes.
      
      * fit few notes.
      
      * fit few notes.
      
      * fit few notes.
      
      * add few interpretations.
      
      * add few interpretations.
      
      * add few interpretations.
      
      * fix import.
      
      * fix space.
      
      * empty commit for ci.
      802129b3
  2. 12 4月, 2023 1 次提交
  3. 10 4月, 2023 1 次提交
    • L
      【Hackathon No.16】add PoissonNLLLoss API (#51117) · 349a059d
      LyndonKong 提交于
      * add PoissonNLLLoss API
      
      * update unittests
      
      * Fix poisson_nll_loss init and update data type support
      
      * remove type comment
      
      * Update doc string
      
      * Fix doc string erro
      
      * Fix doc string math equation format
      
      * Add float16 and bfloat16 support
      349a059d
  4. 04 4月, 2023 1 次提交
  5. 31 3月, 2023 1 次提交
  6. 30 3月, 2023 1 次提交
  7. 29 3月, 2023 1 次提交
  8. 28 3月, 2023 1 次提交
  9. 25 3月, 2023 3 次提交
  10. 22 3月, 2023 2 次提交
  11. 21 3月, 2023 1 次提交
  12. 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
  13. 16 3月, 2023 1 次提交
  14. 13 3月, 2023 1 次提交
  15. 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
  16. 28 2月, 2023 1 次提交
  17. 27 2月, 2023 1 次提交
  18. 20 2月, 2023 1 次提交
  19. 17 2月, 2023 3 次提交
  20. 14 2月, 2023 1 次提交
  21. 07 2月, 2023 1 次提交
  22. 06 2月, 2023 1 次提交
  23. 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
  24. 13 1月, 2023 1 次提交
  25. 05 1月, 2023 1 次提交
  26. 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
  27. 27 12月, 2022 1 次提交
  28. 26 12月, 2022 1 次提交
  29. 23 12月, 2022 2 次提交
    • 学渣戊's avatar
      fix docstrings: paddle.nn.Conv3DTranspose, etc. (#49149) · baa98d1d
      学渣戊 提交于
      * fix docstrings:
      1. 修复了 python/paddle/nn/layer/conv.py 中出现的 Tex 语法问题;
      2. 为 python/paddle/nn/functional/conv.py 修复 Tex 语法问题,修改 note 及参数说明格式,尝试添加论文链接;
      3. 修改 python/paddle/nn/layer/loss.py、python/paddle/nn/functional/loss.py 中参数说明的格式;
      4. 修改 python/paddle/nn/layer/common.py、python/paddle/nn/functional/common.py 中参数说明的格式,添加 optional 说明。
      
      * fix docstring format, add paper's hyperlink.
      
      * fix formula Tex.
      
      * fix format error; test=docs_preview
      
      * fix reference hyperlink; test=docs_preview
      
      * fix docstring; test=docs_preview
      
      * fix Tex format.
      
      * fix api reference;  test=docs_preview
      
      * test=document_fix
      
      * Update conv.py
      
      * formula; test=document_fix
      
      * test=document_fix
      
      * formula; test=document_fix
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      baa98d1d
    • H
      add rnn-t loss and api (#49199) · c088f9ec
      Hui Zhang 提交于
      * add warp transducer code
      c088f9ec
  30. 19 12月, 2022 1 次提交
  31. 16 12月, 2022 2 次提交
    • 学渣戊'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
    • H
      change staticRNN to while (#48213) · 69536892
      hong 提交于
      * change staticRNN to while
      
      * update code
      
      * fix rnn bug
      
      * update
      
      * fix _find_op_path_ bugs in append_backward.
      
      * polish code
      
      * revert op proto
      
      * update
      
      * udpate while
      
      * format
      
      * revert test while loop op
      
      * fix create array
      
      * fix windows error
      
      * fix bug
      
      * update
      
      * fix array write bug
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      69536892
  32. 15 12月, 2022 2 次提交