1. 21 3月, 2023 1 次提交
  2. 20 3月, 2023 2 次提交
    • zhouweiwei2014's avatar
    • G
      Fluid clean move out fill constant (#49511) · c985b1ac
      GGBond8488 提交于
      * migrate fill_constant to paddle.tensor
      
      * move fill_constant to paddle.tensor and repalce the reference
      
      * add missing fill_constant replacement
      
      * fix typro
      
      * remove unused import fill_constant
      
      * fix zeros import error
      
      * fix circle import
      
      * fix layers.zeros
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * use paddle.full replace fill_constant in samplecode
      
      * fix sample code
      
      * recovery xpu test
      
      * recovery xpu test
      
      * fix circle import
      
      * fix utils import error
      
      * fix utils error
      
      * fix circle import
      
      * redo
      
      * fix circle import
      
      * fix prim fill constant import
      
      * fix type error
      
      * fix increase error
      
      * fix test error
      
      * fix fill_constant
      c985b1ac
  3. 15 3月, 2023 1 次提交
  4. 09 3月, 2023 2 次提交
    • 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
    • Y
      [AMP OP&Test] Tile OP (#51380) · d7660a7c
      yangjianfengo1 提交于
      * tile_op
      
      * fix bfloat16 x
      
      * update review
      
      * del out
      d7660a7c
  5. 08 3月, 2023 2 次提交
  6. 07 3月, 2023 2 次提交
  7. 02 3月, 2023 1 次提交
    • W
      Add concat grad cinn (#50972) · a4689c90
      wangzhen38 提交于
      * [cinn] concat_grad
      
      * [cinn] concat_grad
      
      * [cinn] concat_grad build success
      
      * [Add PGLBOX] fix unnitest
      
      * [Add PGLBOX] fix unnitest
      
      * [Add PGLBOX] fix codestyle
      
      * [cinn] update by comments
      
      * [cinn] update by comment
      
      * [cinn] add axis check
      a4689c90
  8. 28 2月, 2023 2 次提交
  9. 27 2月, 2023 4 次提交
  10. 24 2月, 2023 1 次提交
  11. 21 2月, 2023 1 次提交
    • X
      【prim】Layer norm (#50422) · 2f4763ee
      xiaoguoguo626807 提交于
      * fix composite mean op map
      
      * fix composite check output
      
      * init layer_norm
      
      * init layer_norm
      
      * map output from composite rule to origin op
      
      * add dropout op map
      
      * add input map check
      
      * polish log
      
      * modify rules
      
      * success test_forward
      
      * modify test without cinn
      
      * modify cinn test
      
      * modify cinn test
      
      * except fp64
      
      * except fp64
      
      * delete flatten
      
      * delete unused change
      
      * review
      
      * pass cpu test
      
      * code style
      
      * delete flatten fp16 error
      
      * modify flatten test
      
      ---------
      Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
      2f4763ee
  12. 18 2月, 2023 1 次提交
  13. 01 2月, 2023 2 次提交
    • 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
    • R
      Fix UFA非法地址访问(UFA illegal address access) of case4: paddle.unbind (#49995) · 9ce8cfcf
      RedContritio 提交于
      * add axis check for unbind
      
      * add axis range check for unbind
      
      * update unittest and axis validation for unbind
      
      * add unittest invalid axis for unbind
      
      * restore axis extract for unbind
      9ce8cfcf
  14. 30 1月, 2023 1 次提交
  15. 18 1月, 2023 1 次提交
  16. 13 1月, 2023 1 次提交
  17. 10 1月, 2023 1 次提交
  18. 06 1月, 2023 2 次提交
  19. 04 1月, 2023 1 次提交
  20. 03 1月, 2023 1 次提交
  21. 30 12月, 2022 1 次提交
  22. 27 12月, 2022 1 次提交
  23. 23 12月, 2022 1 次提交
    • L
      Fix docs(91-100) (#49109) · 1bbc9b64
      LoneRanger 提交于
      * 修改linspace参数"stop"的介绍
      
      * 更新了conv2d_transpose英文文档中 1.公式异常 2.参数说明异常 3.padding=SAME和VALID的公式说明; test=docs_preview
      
      * 解决了
      1.英文版Note中的api_fluid_layers_conv2d的链接失效,
      2. 英文版参数中的padding_start的参数错误
      3. 参数中bias_attr和param_attr的链接失效
      4. 参数缺少optional
      
      * 更新了paddle.static.auc的英文文档的Return描述以及函数的参数
      
      * Update python/paddle/tensor/creation.py
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      
      * 更新了shard_index的ignore_value描述
      
      * 修改了英文文档的paddle.static.nn.conv3d_transpose的公式介绍
      
      * add py_func COPY-FROM label; test=document_fix
      
      * Update python/paddle/tensor/manipulation.py
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      
      * formula; test=document_fix
      
      * formula; test=document_fix
      
      * formula; test=document_fix
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      1bbc9b64
  24. 19 12月, 2022 1 次提交
  25. 16 12月, 2022 1 次提交
  26. 15 12月, 2022 1 次提交
    • 学渣戊's avatar
      按在线文档需求 61~70 更新了部分文档 (#49014) · a9ed6f96
      学渣戊 提交于
      * Update docstring:
      1. 去除 python/paddle/tensor/manipulation.py 中 cast 函数描述中的 This OP;
      2. 调整 python/paddle/fluid/layers/control_flow.py 中 Print 函数中参数描述的顺序,添加 optional 描述;
      3. 为 python/paddle/tensor/logic.py 中 logical_and 函数添加 optional 描述;
      4. 为 python/paddle/fluid/reader.py 中 DataLoader 类中 from_generator、from_dataset 函数添加 optional 描述;
      5. 在 python/paddle/fluid/layers/nn.py 中 crf_decoding 函数的 param_attr 在使用中确实可视为存在默认值 None,故添加 optional 描述;
      6. 修复 python/paddle/static/nn/common.py 中 data_norm 函数描述里 tex 语法错误的问题,并一并修复同一文件中的相同问题。
      
      * 根据 review 意见修改部分内容。
      
      * 将谓语动词去掉第三人称单数形式。
      
      * 同步中文文档变更。
      
      * string-->str; test=document_fix
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      a9ed6f96
  27. 08 12月, 2022 1 次提交
    • R
      [Fluid Clean]move inplace_apis_indygraph_only from... · b731fb82
      risemeup1 提交于
      [Fluid Clean]move inplace_apis_indygraph_only from paddle.flud.dygraph.inplace_utils to paddle.utils (#48744)
      
      * move inplace_apis_indygraph_only from paddle.flud.dygraph.inplace_utils to paddle.utils
      
      * modify conflict
      
      * modify conflict
      
      * modify conflict
      
      * modify conflict
      
      * modify conflict
      
      * modify conflict
      
      * modify conflict
      
      * modify static-check ci error
      
      * fix conflict
      
      * modify failed tests
      
      * fix conflict
      
      * fix conflict
      
      * fix pool2d examples
      
      * modify conflict
      
      * fix failed tests
      
      * fix conflict
      
      * fix failed tests
      
      * modfiy problem of deleting pool2d
      b731fb82
  28. 07 12月, 2022 2 次提交
    • Z
      修改了英文API文档 (#48219) · 4aad4dc5
      Zman 提交于
      * 修改paddle.nn.dynamic_decode,paddle.nn.functional.diag_embed 示例
      
      * mma qk tensor_core (#48087)
      
      * use mma for QK dot computing in fused_multi_transformer.
      * Update fused_multi_transformer_op.cu.h
      
      * remove lrn which is not used in paddle 2.0 (#47945)
      
      * replace scatter_nd and scatter_nd_add with paddle.scatter_nd and (#47960)
      
      paddle.scatter_nd_add
      
      * [PHI] Migrate mul_grad kernel (#48061)
      
      * cleanup unused code
      
      * unify is_int8 is_bfloat16
      
      * Simplify matmul_v2 FWD kernel
      
      * remove RunKernel methods
      
      * remove import namespace
      
      * remove headers
      
      * clean fluid/phi cross imports
      
      * remove fluid axpy_handler
      
      * delete fluid methods
      
      * activations
      
      * OneDNNMemDesc
      
      * MKLDNNFormatForSize
      
      * MatchShapeToLayout
      
      * MKLDNNMemoryFormat
      
      * MKLDNNFormat
      
      * ReorderMKLDNNHandler
      
      * to_void_cast
      
      * review suggestions
      
      * interpolate
      
      * remove fluid depedency
      
      * init
      
      * ExecuteMatMulV2
      
      * rm fluid kernel
      
      * matmul_grad
      
      * remove mutable_data
      
      * mul_grad
      
      * delete unnecessary shape and slice op (#48112)
      
      * 修改英文文档。
      
      * 修改segment operator等英文文档。
      
      * 重新修改了paddle.einsum,paddle.unique_consecutive,
      paddle.disable_signal_handler的英文文档格式。
      
      * 重新修改了英文文档格式。;test=docs_preview
      
      * Update extension.py
      
      * 重新修改了英文文档格式。;test=docs_preview
      
      * 重新修改了英文文档格式。
      待验收:
      - paddle.linalg.svd
      - paddle.nn.functional.diag_embed
      - paddle.set_grad_enabled
      - paddle.disable_signal_handler
      - paddle.cumprod
      - paddle.devaice.cuda.stream_guard
      
      待修改:
      - paddle.nn.dynamic_decode
      - paddle.einsum
      - paddle.unique_consecutive
      - paddle.linalg.svd
      - paddle.uncubate.segment_min
      - paddle.uncubate.segment_max
      - paddle.uncubate.segment_sum
      - paddle.uncubate.segment_mean
      
      ;test=docs_preview
      
      * 重新修改了英文文档格式。
      待验收:
      - paddle.linalg.svd
      - paddle.nn.functional.diag_embed
      - paddle.set_grad_enabled
      - paddle.disable_signal_handler
      - paddle.cumprod
      - paddle.devaice.cuda.stream_guard
      - paddle.nn.dynamic_decode
      - paddle.unique_consecutive
      - paddle.linalg.svd
      
      待修改:
      - paddle.einsum
      - paddle.incubate.segment_min
      - paddle.incubate.segment_max
      - paddle.incubate.segment_sum
      - paddle.incubate.segment_mean
      
      ;test=docs_preview
      
      * 重新修改了英文文档格式。
      待验收:
      - paddle.linalg.svd
      - paddle.nn.functional.diag_embed
      - paddle.set_grad_enabled
      - paddle.disable_signal_handler
      - paddle.cumprod
      - paddle.devaice.cuda.stream_guard
      - paddle.nn.dynamic_decode
      - paddle.unique_consecutive
      - paddle.linalg.svd
      
      待修改:
      - paddle.einsum
      - paddle.incubate.segment_min
      - paddle.incubate.segment_max
      - paddle.incubate.segment_sum
      - paddle.incubate.segment_mean
      
      ;test=docs_preview
      
      * update
      
      * test=docs_preview
      
      * update formula; test=docs_preview
      
      * update formula; test=docs_preview
      
      * remove this operator; test=docs_preview
      
      * add hyper link; test=docs_preview
      
      * add default value; test=docs_preview
      
      * update format; test=docs_preview
      
      * empty commit; test=docs_preview
      
      * fix codestyle issues; test=docs_preview
      
      * empty commit; test=docs_preview
      Co-authored-by: Nlzy <569782149@qq.com>
      Co-authored-by: NVvsmile <450864116@qq.com>
      Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com>
      Co-authored-by: NRichardWooSJTU <37864677+RichardWooSJTU@users.noreply.github.com>
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      4aad4dc5
    • K
  29. 03 12月, 2022 1 次提交