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. 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
  3. 25 3月, 2023 2 次提交
  4. 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
  5. 17 2月, 2023 1 次提交
  6. 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
  7. 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
  8. 15 12月, 2022 2 次提交
  9. 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
  10. 09 12月, 2022 1 次提交
  11. 07 12月, 2022 1 次提交
  12. 01 12月, 2022 1 次提交
  13. 30 11月, 2022 1 次提交
  14. 29 11月, 2022 1 次提交
  15. 28 11月, 2022 1 次提交
    • X
      【fluid api clear】Remove reduce sum (#48330) · 8d00f76e
      xiaoguoguo626807 提交于
      * remove fluid.reduce_sum
      
      * remove fluid.reduce_sum
      
      * modify axis and import paddle
      
      * modify keepdim and out_name
      
      * modift unittest
      
      * modift unittest
      
      * modify CI_static and loss.py
      
      * modify test_mse_loss
      
      * modify static ci
      
      * modify static ci datatype
      
      * add import paddle in test
      
      * fix conflict
      
      * fix conflict
      
      * modify ci
      
      * modify ci
      
      * fix_conflict
      
      * fix bug
      
      * code_style
      8d00f76e
  16. 22 11月, 2022 1 次提交
    • 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
  17. 03 11月, 2022 2 次提交
  18. 23 10月, 2022 1 次提交
  19. 13 10月, 2022 1 次提交
    • Y
      【Paddle Hackathon No.11】 (#45595) · 8474392d
      yangguohao 提交于
      * 2022-08-30_update nn.layer.loss nn.functional.loss, test_file
      
      * 2022-08-30_update nn.layer.loss nn.functional.loss, test_file
      
      * fix: test_file
      
      * fix: test_file, docs, multi_margin_loss
      
      * fix: doc weight function
      
      * fix: test_multi_margin_loss
      
      * fix: weight np.testing.assert_allclose
      
      * fix: test_file
      
      * fix: en_doc
      
      * 2022-10-10
      8474392d
  20. 12 10月, 2022 1 次提交
  21. 08 10月, 2022 1 次提交
    • M
      fix some doc bug test=document_fix (#45488) · 04abcab8
      mrcangye 提交于
      * fix some doc bug test=document_fix
      
      * fix some docs issues, test=document_fix
      
      * beta -> \beta in softplus
      
      * threshold -> \varepsilon in softplus
      
      * parameter name
      
      * delta -> \delta in smooth_l1_loss
      
      * fix some docs test=document_fix
      
      * fix docs test=document_fix
      
      * fix docs && 增加空行 test=document_fix
      
      * Update python/paddle/nn/functional/activation.py, test=document_fix
      
      * Update python/paddle/nn/layer/activation.py, test=document_fix
      Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
      04abcab8
  22. 23 9月, 2022 1 次提交
  23. 22 9月, 2022 1 次提交
    • Fix the En docs (delete some expression like 'This OP') (#46165) · 3a928a8c
      张春乔 提交于
      * 1. Delete some expression like 'This Op'
      2. remove import numpy as np
      
      * test=document_fix
      
      * fix eg; test=document_fix
      
      * fix 'import numpy' cases; test=document_fix
      
      * fix 'import numpy' cases; test=document_fix
      
      * fix some docs; test=document_fix
      
      * delete raise; test=document_fix
      
      * add some introduction; test=document_fix
      
      * add some introduction; test=document_fix
      
      * test=document_fix
      
      * Fix ’note‘ format; test=document_fix
      
      * Fix Returns of cholesky; test=document_fix
      
      * Fix Example format; test=document_fix
      
      * Fix det; test=document_fix
      
      * Fix eig; test=document_fix
      
      * Fix eigh; test=document_fix
      
      * Fix eigh; test=document_fix
      
      * Apply suggestions from code review;test = document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * Apply suggestions from code review;test = document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * Apply suggestions from code review;test = document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * test=document_fix
      
      * test=document_fix
      
      * KLDiv;test=document_fix
      
      * norm example code; test=document_fix
      
      * revert python/paddle/fluid/**/*
      
      * revert python/paddle/distributed/spawn.py
      
      * revert python/paddle/fluid/*
      
      * fix a `Note` format
      
      * Fix inv; test=document_fix
      
      * Fix lu; test=document_fix
      
      * Fix lu_unpack; test=document_fix
      
      * Fix matrix_power; test=document_fix
      
      * Fix multi_dot; test=document_fix
      
      * Fix solve; test=document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      3a928a8c
  24. 14 9月, 2022 1 次提交
  25. 26 8月, 2022 1 次提交
  26. 23 8月, 2022 1 次提交
  27. 08 8月, 2022 1 次提交
    • ReganYue's avatar
      【Fix en docs】 Fix document formatting*test=document_fix (#43996) · 8537edaa
      ReganYue 提交于
      * Update creation.py
      
      修复Returns格式问题
      
      * 【Fix en docs】 Fix document formatting
      
      修复Returns和Return Type格式问题。
      
      * 修复格式,解决中英文文档不一致问题
      
      为了解决中英文不一致的问题,统一将Returns内容第一个标点符号改成逗号。删掉Return Type
      
      * fix大量 与 Return Type 和 Return相关的文档
      
      * Convert Variable and LoDTensor to Tensor
      
      * Update python/paddle/nn/functional/common.py
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * Update detection.py
      
      * Update io.py
      
      * Update io.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update io.py
      
      * Update io.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update nets.py
      
      * Update reader.py
      
      * Update nn.py
      
      * Update io.py
      
      * Update nn.py
      
      * Update io.py
      
      * remove Return Type to Returns
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update common.py
      
      * Update common.py
      
      * Update extension.py
      
      * Update creation.py
      
      * update*test=document_fix
      
      * Update io.py
      
      * Update manipulation.py
      
      * Update sequence_lod.py
      
      * Update common.py
      
      * Update common.py
      
      * Update common.py
      
      * Update common.py
      
      * update*test=document_fix
      
      * update*test=document_fix
      
      * Update loss.py
      
      * Update loss.py
      
      * update*test=document_fix
      
      * paddle.crop
      
      * for ci;test=document_fix
      
      * update io;test=document_fix
      
      * Update io.py
      
      * update sequence_expand docs;test=document_fix
      
      * update note typos;test=document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      8537edaa
  28. 04 8月, 2022 1 次提交
    • N
      [Docs][en] adjust code example format (#44679) · d5de7886
      Nyakku Shigure 提交于
      * add name attribute to code-block, test=document_fix
      
      * remove redundant labels, test=document_fix
      
      * remove redundant labels (from upstream), test=document_fix
      
      * more COPY-FROM (try multiple code example), test=document_fix
      
      * empty commit, try to trigger PR-CI-build
      
      * fix some `Examples:` format issues
      
      * fix some ci errors
      d5de7886
  29. 25 7月, 2022 1 次提交
    • Y
      【Hackathon No.21】为 Paddle 新增 SoftMarginLoss (#42364) · f9cd526b
      yangguohao 提交于
      * 2022-04-28
      
      * 2022-04-28_V2
      
      * 2022-04-30
      
      * 2022-04-30_V2
      
      * 2022-05-01
      
      * 2022-05-02
      
      * 2022-05-02_V2
      
      * 2022-05-05_V1
      
      * 2022-05-06_V1
      
      * 2022-05-07_V1
      
      * Update loss.py
      
      * 2022-05-07_V2
      
      * 2022-05-13_V1
      
      * Update test_soft_margin_loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * 2022-05-16_V1
      
      * 2022-05-19_V1
      
      * 2022-05-20_V1
      
      * Update test_soft_margin_loss.py
      
      * 2022-06-01_V1
      
      * 2022-06-05
      
      * 2022-06-07
      
      * 2022-06-07
      
      * 2022-06-08
      
      * 2022-06-08_V2
      
      * 2022-06-17-code_style
      
      * Modify python
      
      * 2022-06-20
      
      * for
      
      * for CI;test=document_fix
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      f9cd526b
  30. 17 6月, 2022 2 次提交
    • Y
      [PaddleHackathon No.14] (#41183) · 74c74b0f
      yangguohao 提交于
      * 2022-04-28
      
      * 2022-05-04
      
      * 2022-05-05_V1
      
      * 2022-05-05_V1
      
      * Update loss.py
      
      * Update loss.py
      
      * 2022-06-01_hook
      
      * 2022-06-05
      
      * 2022-06-07
      
      * 2022-06-07_V2
      
      * 2022-06-07_V2
      
      * 2022-06-17_codestyle
      74c74b0f
    • Y
      [Hackathon No.26] (#40487) · 9bbcca2b
      yangguohao 提交于
      * 'triplet_margin_loss'
      
      * 'test_file_corret'
      
      * '2022_03_27'
      
      * 2022_04_05
      
      * 2022-04-17_1
      
      * 2022-04-17
      
      * 2022-04-17_2
      
      * 2022-04-25
      
      * 2022-05-02_V1
      
      * 2022-05-06_V1
      
      * 2022-05-07_V1
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update test_triplet_margin_loss.py
      
      * Update loss.py
      
      * 2022-06-01_pre-commit
      
      * 2022-06-05
      
      * 2022-06-06
      
      * 2022-06-06
      
      * code_style_check
      
      * code_style_check
      
      * Update loss.py
      
      * 2022-06-07_V2
      
      * Update loss.py
      
      * Update loss.py
      9bbcca2b
  31. 13 6月, 2022 1 次提交
    • Y
      【Hachathon No.30】 (#40545) · 5d48528f
      yangguohao 提交于
      * 'TripletMarginDistanceLoss'
      
      * 'test_file'
      
      * '2022_03_27'
      
      * 2022-03-31
      
      * 2022-04-05
      
      * 2
      
      * 2022-04-17
      
      * 2022-04-17_2
      
      * 2022-04-17_3
      
      * 2022-04-17_4
      
      * 2022-04-25
      
      * 2022-05-02_V1
      
      * 2022-05-06_V1
      
      * 2022-05-07_V1
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * 2022-06-01_pre-commit
      
      * 2022-06-05
      
      * 2022-06-06
      
      * 2022-06-07
      
      * 2022-06-07_V2
      5d48528f
  32. 08 6月, 2022 1 次提交
    • N
      【Hackathon No.17】为 Paddle 新增 paddle.nn.CosineEmbeddingLoss 和... · 8dab2690
      Netpunk 提交于
      【Hackathon No.17】为 Paddle 新增 paddle.nn.CosineEmbeddingLoss 和 paddle.nn.functional.cosine_embedding_loss API (#41680)
      
      * add cosine embedding loss API
      
      * new version
      
      * new version
      
      * new version
      
      * set label to int32
      
      * new version
      
      * new version-test
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * aligning to Chinese document
      
      * add name parameter
      
      * activate CI
      
      * fix format error
      
      * unit test code format
      
      * format code
      8dab2690
  33. 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
  34. 13 5月, 2022 1 次提交
  35. 18 4月, 2022 1 次提交