1. 22 5月, 2023 1 次提交
    • M
      [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() (#53856) · 3794d171
      Meteor Liu 提交于
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * fixed cyclic reference that caused patial import
      
      * fixed bad change
      
      * fix bad import
      
      * fix bad import
      
      * fix bad import
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fixed usage of in_dynamic_mode() or in_dygraph_mode()
      
      * revert python3 to python in .pre-commit-config.yaml
      
      * fix merge conflicts
      3794d171
  2. 16 5月, 2023 2 次提交
  3. 11 5月, 2023 1 次提交
  4. 08 5月, 2023 1 次提交
  5. 18 4月, 2023 1 次提交
  6. 17 4月, 2023 1 次提交
  7. 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
  8. 11 4月, 2023 1 次提交
  9. 10 4月, 2023 2 次提交
  10. 31 3月, 2023 1 次提交
  11. 28 3月, 2023 1 次提交
  12. 25 3月, 2023 2 次提交
  13. 06 3月, 2023 1 次提交
  14. 14 2月, 2023 1 次提交
  15. 06 2月, 2023 1 次提交
  16. 03 2月, 2023 1 次提交
  17. 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
  18. 13 1月, 2023 1 次提交
  19. 11 1月, 2023 2 次提交
  20. 10 1月, 2023 1 次提交
  21. 05 1月, 2023 1 次提交
  22. 04 1月, 2023 1 次提交
  23. 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
  24. 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
  25. 20 12月, 2022 1 次提交
  26. 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
  27. 15 12月, 2022 2 次提交
  28. 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
  29. 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
  30. 07 12月, 2022 1 次提交
  31. 05 12月, 2022 1 次提交
  32. 30 11月, 2022 1 次提交