1. 13 4月, 2023 2 次提交
    • 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
    • L
      Fix bug in cross_entropy in static mode (#52771) · 16c36465
      lzydev 提交于
      * fix bug in cross_entropy in static mode
      
      * fix ci-coverage
      16c36465
  2. 11 4月, 2023 1 次提交
  3. 10 4月, 2023 2 次提交
  4. 31 3月, 2023 1 次提交
  5. 28 3月, 2023 1 次提交
  6. 25 3月, 2023 2 次提交
  7. 06 3月, 2023 1 次提交
  8. 14 2月, 2023 1 次提交
  9. 06 2月, 2023 1 次提交
  10. 03 2月, 2023 1 次提交
  11. 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
  12. 13 1月, 2023 1 次提交
  13. 11 1月, 2023 2 次提交
  14. 10 1月, 2023 1 次提交
  15. 05 1月, 2023 1 次提交
  16. 04 1月, 2023 1 次提交
  17. 28 12月, 2022 1 次提交
    • rm legacy nn part2 (#49259) · 69e51c77
      姜永久 提交于
      * rm legacy nn part2
      
      * rm _non_static_mode
      
      * modify
      
      * modify unpool test
      
      * modify unpool test
      
      * modify loss
      
      * keep legacy for layer_norm
      69e51c77
  18. 23 12月, 2022 3 次提交
    • 学渣戊'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
    • H
      fix ce bug (#48974) · 80d465ee
      huangjun12 提交于
      80d465ee
  19. 20 12月, 2022 1 次提交
  20. 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
  21. 15 12月, 2022 2 次提交
  22. 14 12月, 2022 1 次提交
    • A
      InstanceNorm1D、InstanceNorm2D、InstanceNorm3D (#48940) · b9207054
      Ayuan 提交于
      * modified:   python/paddle/nn/layer/norm.py
      
      * modified:   python/paddle/nn/layer/norm.py
      
      * modified:   python/paddle/nn/layer/norm.py
      
      * modified:   python/paddle/nn/layer/norm.py
      
      * modified:   python/paddle/nn/layer/norm.py
      
      * modified:   python/paddle/nn/layer/norm.py
      
      * test=docs_preview
      
      * InstanceNorm2D中文档格式修改
      
      * test=docs_preview
      
      * modified:   python/paddle/nn/functional/loss.py
      	modified:   python/paddle/nn/functional/norm.py
      	modified:   python/paddle/nn/layer/loss.py
      	modified:   python/paddle/nn/layer/norm.py
      
      * test=docs_preview
      
      * test=docs_preview
      b9207054
  23. 12 12月, 2022 1 次提交
    • H
      [Clean fluid] Add inner function _elementwise_op_with_axis (#48748) · 9aef0e3e
      HongyuJia 提交于
      * add inner function _elementwise_op_with_axis
      
      * fix transformer_model
      
      * polish API code
      
      * remove elementwise_div/mul api
      
      * delete API in __all__
      
      * delete elementwise_mul completely
      
      * polish elementwise_mul call
      
      * polish internal api
      
      * resolve conflict, fix rnn.py
      
      * use non-inplace call
      
      * delete elementwise_mul api test
      
      * delete elementwise_mul api test
      
      * clean elementwise_add/sub
      
      * restore _elementwise_op_in_dygraph in nn.py
      9aef0e3e
  24. 07 12月, 2022 1 次提交
  25. 05 12月, 2022 1 次提交
  26. 30 11月, 2022 1 次提交
  27. 29 11月, 2022 1 次提交
  28. 28 11月, 2022 1 次提交
    • Y
      clear fluid api: warpctc, nce, identity_loss (#48142) · d983fc34
      yuehuayingxueluo 提交于
      * clear fluid api: warpctc, nce, identity_loss
      
      * fix test_layers.py __init__.py
      
      * fix loss.py
      
      * change __init__.py and api calling method
      
      * fix nce
      
      * fix nce
      
      * fix fluid.data
      
      * delete warpctc api document
      
      * fix loss.py
      
      * fix ctc_loss
      
      * fix test_warpctc_op.py
      
      * fix test_layers.py
      
      * fix some bug
      
      * fix conflict
      
      * fix ci bug
      
      * Empty Commit test=allcase
      
      * fix ci bug
      d983fc34
  29. 22 11月, 2022 2 次提交
    • Y
      clear fluid apis in loss.py v_1 (#48132) · 27f49254
      yuehuayingxueluo 提交于
      * clear fluid apis: center_loss, bpr_loss, edit_distance, hsigmoid, sampled_softmax_with_cross_entropy, rank_loss, margin_rank_loss,  sigmoid_cross_entropy_with_logits, huber_loss
      
      * fix python/paddle/fluid/layers/loss.py
      
      * fix test_layers.py
      
      * fix CI bug
      
      * fix nn.py
      27f49254
    • U
      [Docs]fix math api en docs issue (#47448) · 94c6ec86
      ustiniankw 提交于
      * fix_docx_stanh
      
      * fix einsum api en docs issue
      
      * fix model api en docs issue
      
      * for codestyle
      
      * fix_einsum.py_einsum, test=document_fix
      
      * fix_model.py_Model, test=ducument_fix
      
      * fix_creation.py_meshgrid, test=document_fix
      
      * fix_linalg.py_slogdet, test=document_fix
      
      * fix_loss.py_SoftMarginLoss_CrossEntropyLoss_NLLLoss_BCELoss, test=document_fix
      
      * norm.py_SyncBatchNorm, test=document-fix
      
      * norm.py_SyncBatchNorm, test=document_fix
      
      * norm.py_SyncBatchNorm, test=document_fix
      
      * list18-30, test=document_fix
      
      * refix_list1-15, test=document_fix
      
      * deletefiles, test=document_fix
      
      * fixedapi_pre-commit, test=document_fix
      
      * fix_list31-45, test=document_fix
      
      * list111, test=document_fix
      
      * some_fix, test=document_fix
      
      * some_fix, test=document_fix
      
      * somefix, test=document_fix
      
      * somefix, test=document_fix
      
      * refix, test=document_fix
      
      * refix, test=document_fix
      
      * refix, test=document_fix
      
      * refix, test=document_fix
      
      * rerfix, test=document_fix
      Co-authored-by: 梦柳's avatarLigoml <limengliu@tiaozhan.com>
      94c6ec86
  30. 17 11月, 2022 1 次提交
  31. 03 11月, 2022 1 次提交
  32. 01 11月, 2022 1 次提交