1. 18 8月, 2022 1 次提交
  2. 12 8月, 2022 1 次提交
    • J
      [Eager] Support more final_state code (#44986) · cf17ae8a
      Jiabin Yang 提交于
      * support more final_state code
      
      * support more final_state code
      
      * fix api error
      
      * fix norm error
      
      * fix pool3d error
      
      * revert pool3d and max_pool_3d_adaptive
      
      * fix code check error
      
      * fix norm problem
      cf17ae8a
  3. 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
  4. 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
  5. 03 8月, 2022 1 次提交
  6. 29 7月, 2022 1 次提交
    • Y
      [Phi] Add yaml for assign_value (#44596) · 88584396
      Yulong Ao 提交于
      * [Phi] Add yaml for assign_value
      
      * [Phi] Fix the bug of the assign api and modify the unittest
      
      * [Phi] Fix the bug when the tensor does not have the backend info
      
      * [Phi] Replace the functional-style cast init by the brace-init
      
      * [Phi] Cast the data explicitly
      88584396
  7. 21 7月, 2022 1 次提交
  8. 13 7月, 2022 1 次提交
  9. 17 6月, 2022 1 次提交
  10. 14 6月, 2022 1 次提交
    • Z
      Fix numpy 1.20+ deprecation warnings (#42929) · 90cf2299
      zlsh80826 提交于
      * Replace np.bool/np.bool8 with np.bool_
      
      * Replace np.object with np.object_
      
      * Replace np.complex with np.complex128
      
      * Replace np.float with np.float64
      
      * Replace np.int with np.int_
      
      * Rerun pre-commit for newer pre-commit configuration
      
      * Use builtin bool instead of np.bool_ based on the context
      90cf2299
  11. 13 6月, 2022 1 次提交
    • L
      Fix some en docs of paddle. and paddle.nn.initialize. (#42916) · 4f006636
      Liyulingyue 提交于
      * calculate_gain; test=document_fix
      
      * Constant; test=document_fix
      
      * KaimingNormal; test=document_fix
      
      * KaimingUniform; test=document_fix
      
      * randint; test=document_fix
      
      * squeeze;test=document_fix
      
      * argmin; test=document_fix
      
      * argmin; test=document_fix
      
      * triu; test=document_fix
      
      * add_n;test=document_fix
      
      * unique; test=document_fix
      
      * topk; test=document_fix
      
      * squeeze;test=document_fix
      
      * randint;test=document_fix
      
      * argmin; test=document_fix
      
      * constant; test=document_fix
      
      * constant; test=document_fix
      
      * KaimingNormal; test=document_fix
      
      * kaiming; test=document_fix
      
      * unique; test=document_fix
      4f006636
  12. 07 6月, 2022 1 次提交
  13. 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
  14. 01 6月, 2022 1 次提交
  15. 31 5月, 2022 1 次提交
  16. 23 5月, 2022 1 次提交
    • Z
      Add assign_out_ yaml (#42833) · c60acca4
      zyfncg 提交于
      * add assign_out_ yaml
      
      * fix final_state_assign
      
      * fix inplace bug
      
      * add inplace_check_blacklist for assign
      
      * fix merge conflict
      c60acca4
  17. 20 5月, 2022 1 次提交
    • X
      [Hackathon No.5] tril_indices OP (#41639) · 75db5b86
      xiaoguoguo626807 提交于
      * add tril_indices cpu kernal
      
      * modify tril_indice cpu op
      
      * modify bug
      
      * modify bug
      
      * add tril_indices python api
      
      * add tril_indices python api
      
      * resolve conflict
      
      * add tril_indices test
      
      * modify details
      
      * add tril_indices.cu
      
      * pythonapi pass
      
      * save tril_indices
      
      * CPU tril_indices pass
      
      * delete vlog
      
      * modify test_tril_indices_op.py
      
      * delete tril_indices_kernel.cc.swp
      
      * delete tril_indice.cu
      
      * modify code style
      
      * add newline in creation.py
      
      * modify creation.py linux newline
      
      * delete annotation
      
      * check code style
      
      * check .py style add final_state??
      
      * modify code style
      
      * add gpu_tril_indices
      
      * modify gpu_compiled_juage
      
      * modify gpu judge
      
      * code style
      
      * add test example
      
      * modify english document
      
      modify english document
      
      modify english document
      
      modify document
      
      modify document
      
      * modify pram name
      
      * modify pram name
      
      * modify pram
      
      * reduce test ex
      75db5b86
  18. 19 5月, 2022 1 次提交
    • C
      Fix API Docs bug (#42816) · 9f4d342c
      Chen Long 提交于
      * update readme test=document_fix
      
      * fix api docs;test=document_fix
      
      * update logic.py;test=document_fix
      
      * update docs;test=document_fix
      9f4d342c
  19. 18 5月, 2022 1 次提交
  20. 16 5月, 2022 1 次提交
  21. 26 4月, 2022 1 次提交
  22. 20 4月, 2022 2 次提交
    • B
      【PaddlePaddle Hackathon 2】9、为 Paddle 新增 logspace API (#41261) · a3c50c42
      BrilliantYuKaimin 提交于
      * 增加logspace的算子描述
      
      * 增加logspace的形状推断
      
      * 增加logspace核函数实现
      
      * 在python中增加logspace接口
      
      * 增加logspace单测
      
      * 增加logspace
      
      * Update logspace_kernel.cu
      
      * Update logspace_op.cc
      
      * 调整代码格式
      
      * Update doc of logspace
      
      * Update tensor.py
      
      * Update logspace_op.cc
      
      * Update logspace_kernel.cc
      
      * Update logspace_kernel.cu
      
      * Update test_logspace.py
      
      * 调整 logspace 的位置
      
      * 调整代码格式
      a3c50c42
    • F
      [MLU] add gather mlu kernel (#41969) · 23ad2166
      fwenguang 提交于
      23ad2166
  23. 13 4月, 2022 1 次提交
  24. 05 4月, 2022 1 次提交
  25. 03 4月, 2022 1 次提交
    • F
      Add some yaml config (#41053) · e4914734
      From00 提交于
      * Add yaml config
      
      * Add yaml for flatten_contiguous_range_op
      
      * Remove h_sigmoid yaml
      
      * Fix CI errors
      
      * Fix code format
      
      * Fix flatten OP errors
      
      * Fix conflicts
      
      * Fix CI errors
      
      * Remove flatten_contiguous_range OP
      
      * Remove redundant code
      
      * Fix typos
      e4914734
  26. 02 4月, 2022 1 次提交
  27. 30 3月, 2022 1 次提交
    • W
      [Eager] dlpack (#40811) · 4d300224
      wanghuancoder 提交于
      * dlpack eager, test=develop
      
      * eager test_base_layer, test=develop
      
      * fix error report, test=develop
      
      * eager _getitem_from_offset, test=develop
      
      * refine, test=develop
      
      * refine offset, test=develop
      
      * add test_inner test_outer, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      4d300224
  28. 28 3月, 2022 1 次提交
  29. 25 3月, 2022 1 次提交
    • J
      Refactor Dygraph Flags (#40786) · 3085d5e4
      Jiabin Yang 提交于
      * refactor eager flags
      
      * fix flags error when we switch from eager to dygraph
      
      * fix ci problem
      
      * fix ci
      
      * fix ci
      
      * merge develop and fix code style
      
      * merge develop and fix code style
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * merge develop
      3085d5e4
  30. 21 3月, 2022 2 次提交
    • 0
      Refine to_tensor for eager mode and support gpu_pinned (#40535) · 45d1fb8d
      0x45f 提交于
      * Refine to_tensor for eager mode
      
      * support gpu_pinned
      
      * refine code
      
      * support gpu_pinned copy_to
      
      * fix layer.__setattr__
      
      * support to_tensor for gpu_pinned
      
      * fix unit test
      
      * refine gpu_pinned
      
      * restore the original code
      
      * add is_gup_pinned() and refine eager.Tensor._copy_to()
      45d1fb8d
    • H
      Add yaml config part0 (#40020) · cc853e95
      hong 提交于
      * add add yaml
      
      * add elementwise add yaml; test=develop
      
      * add norm
      
      * update
      
      * add some yaml config; test=develop
      
      * fix bug; test=develop
      
      * fix compare error; test=develop
      
      * revert erger_gen.py
      
      * update; test=deveop
      
      * remove usless code; test=deveop
      
      * fix bug; test=develop
      
      * fix test error; test=develop
      
      * remove int_type; test=develop
      
      * fix type error; test=develop
      
      * format; test=develop
      
      * remove type register; test=develop
      
      * polish code; test=develop
      
      * fix ci error; test=develop
      cc853e95
  31. 09 3月, 2022 1 次提交
  32. 01 3月, 2022 1 次提交
  33. 22 2月, 2022 1 次提交
  34. 20 2月, 2022 1 次提交
  35. 16 2月, 2022 1 次提交
    • J
      EagerTensor to EagerVariable (#39447) · 831fd86e
      Jiabin Yang 提交于
      * merge legacy to fluid
      
      * Remove legacy code
      
      * Remove legacy code
      
      * Remove DataType test
      
      * Using Tensor directly instead of using EagerTensor
      
      * support gradient_accumulation
      
      * make test_imperative_lod_tensor_to_selected_rows longer
      
      * make test_imperative_lod_tensor_to_selected_rows longer
      
      * refine code
      
      * Rename all EagerTensor to Tensor
      
      * Rename some EagerTensor to Tensor
      
      * rename EagerTensor to EagerVariable
      
      * add more test
      
      * merge develop and refine code
      831fd86e
  36. 15 2月, 2022 1 次提交
    • R
      [PluggableDevice] Add custom runtime support (#38740) · 3e7825f3
      ronnywang 提交于
      * [CustomRuntime] Add DeviceManager
      
      * [CustomRuntime] Add DeviceInterface
      
      * [CustomRuntime] Add Stream, Event, DeviceGuard, CallbackManager
      
      * [CustomRuntime] Add plug-in device
      
      * [CustomRuntime] Memory module support PluggableDevice
      
      * [CustomRuntime] Add WITH_PLUGGABLE_DEVICE cmake option
      
      * update
      
      * [API] update API doc based on comments, test=develop
      Co-authored-by: Nqili93 <qili93@qq.com>
      3e7825f3
  37. 24 12月, 2021 1 次提交
    • J
      Support test imperative basic in eager (#38313) · d48f7c89
      Jiabin Yang 提交于
      * Rearranged Eager AutoCodeGen directory structure
      
      * Removed USE_OP in Eager AutoCodeGen
      
      * Enabled generation for Operators without Grad/Inputs/Outputs
      
      * Resolved operators without input
      
      * Fixed merge conflicts
      
      * Enabled Eager AutoCodeGen for 10+ more operators
      
      * Refactored Eager AutoCodeGen with more organized helper objects
      
      * Enabled Eager AutoCodeGen for operators with multiple OpBases
      
      * Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input Argument
      
      * Handled Dispensable Inputs/Outputs in Eager AutoCodeGen
      
      * Adjusted function generation/call between Python-C API & Dygraph API
      
      * Synchronized auto-generated Python-C API with Dygraph Forward Functions
      
      * support more eager tensor api
      
      * fix merge compile error
      
      * fix compile error and fit develop code
      
      * support pure CPU
      
      * fix some logic error in eager_mode
      
      * support _varbase_creator in eager mode
      
      * Added safe_initialized interface to EagerTensor for use in processing dispensable inputs
      
      * for eager mode
      
      * refine
      
      * support multiple constructor for eager tensor
      
      * add place related code
      
      * polish code
      
      * specific randint with dtype of int64
      
      * Support pure cpu test
      
      * eager logic
      
      * refine test in pure cpu
      
      * eager logic
      
      * eager logic
      
      * eager logic, test=develop
      
      * skip core.eager when in inference, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * call RetainGrad after run forward kernel, test=develop
      
      * refine, test=develop
      
      * support dygraph util, meta, guard test
      
      * support inference test
      
      * refine test and fix initializer failed
      Co-authored-by: Njim19930609 <jim19930609@gmail.com>
      Co-authored-by: NWang Huan <wanghuan29@baidu.com>
      d48f7c89
  38. 23 12月, 2021 1 次提交