1. 02 8月, 2022 1 次提交
    • W
      [Eager] use eager final state instead intermediate state (#44722) · f1873b90
      Weilong Wu 提交于
      * [Eager] call final_state_slice under eager mode
      
      * rm useless comments
      
      * use eager final state instead intermidiate state
      
      * update fill_constant yaml
      
      * update fill_constant yaml
      
      * modify wrapped_infermeta_gen logic to fix special case
      
      * fix slice in manipulation
      
      * use fill_constant_
      
      * modify slice infermeta
      
      * rm final_state_conv2d
      
      * use final_state_slice
      
      * use final_state_slice only
      
      * polish slice, use final state
      
      * add paddle_throw for SplitInferMeta
      
      * rm fill_constant_ temply
      
      * recover array_equal, not allclose
      
      * recover original code
      f1873b90
  2. 27 6月, 2022 1 次提交
  3. 22 6月, 2022 1 次提交
  4. 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
  5. 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
  6. 25 4月, 2022 1 次提交
  7. 12 4月, 2022 1 次提交
    • C
      [Yaml]add gaussian_random yaml and test case (#41312) · 4819ab4d
      chentianyu03 提交于
      * add guassian random yaml
      
      * add gaussian_random yaml and test case
      
      * fix error modify of full yaml
      
      * import in_dygraph_mode
      
      * import _in_legacy_dygraph
      
      * add place arg in api
      
      * import __current_expected_place
      
      * fix test_egr_python_api failed case
      
      * add test case
      
      * add cast for NormalInitializer
      
      * fix test error
      
      * fix test error
      
      * rm unsed check code
      
      * fix test error in test_initializer_nn
      
      * modify by review
      4819ab4d
  8. 07 4月, 2022 2 次提交
  9. 05 4月, 2022 1 次提交
    • W
      [Eager] dataloader2 (#41338) · 3b0e911c
      wanghuancoder 提交于
      * eager math op, test=develop
      
      * eager support lookahead, test=develop
      
      * refine,test=develop
      
      * refine doc, test=develop
      
      * refine,test =develop
      
      * refie, test=develop
      
      * refie, test=develop
      
      * refie, test=develop
      
      * test_paddle_multiprocessing
      
      * refine, test=develop
      
      * refine, test=develop
      
      * fix bug, test=develop
      
      * refine, test=develop
      
      * dataloader, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * test_datasets timeout, test=develop
      
      * refine, test=develop
      3b0e911c
  10. 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
  11. 23 2月, 2022 1 次提交
    • W
      [Eager] Support Eager mode for some model testcase (#39248) · abe232d8
      wanghuancoder 提交于
      * eager, test=develop
      
      * fix bug, test=develop
      
      * eager, test=develop
      
      * merge legacy to fluid
      
      * eager, test=develop
      
      * eager, test=develop
      
      * Refactor TensorAdd func by template and remove gradient_accumulation in eager
      
      * Remove needless target name
      
      * eager, test=develop
      
      * eager, test=develop
      
      * Use overload instead of template
      
      * Remove legacy code
      
      * Remove legacy code
      
      * selectedrows, test=develop
      
      * Remove DataType test
      
      * eager, test=develop
      
      * eager, test=develop
      
      * support gan, test=develop
      
      * 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
      
      * ptb, test=develop
      
      * Rename all EagerTensor to Tensor
      
      * Rename some EagerTensor to Tensor
      
      * rename EagerTensor to EagerVariable
      
      * eager, test=develop
      
      * eager, test=develop
      
      * eager, test=develop
      
      * eager, test=develop
      
      * add more test
      
      * eager, test=develop
      
      * Support copiable selected rows and merge develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * clear grad, test=develop
      
      * merge, develop
      
      * merge, develop
      Co-authored-by: NJiabinYang <360788950@qq.com>
      Co-authored-by: NWeilong Wu <veyron_wu@163.com>
      abe232d8
  12. 20 1月, 2022 1 次提交
    • W
      [Eager] Support Eager mode for some testcase (#38783) · d21074cd
      wanghuancoder 提交于
      * 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
      
      * eager test case
      
      * support inference test
      
      * refine test and fix initializer failed
      
      * modify eagertensor patch method
      
      * add eagertensor.clear_grandint, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * support create varbase and fix retain grad error
      
      * call monkey_patch_varbase in _test_eager_guard, test=develop
      
      * fix windows error
      
      * split clear_gradient to clear_gradient and zero_grads, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * support test_imperative_basic test in eager mode
      
      * remove additional log in variable.h
      
      * remove additional log in variable.h
      
      * remove additional code create in merge
      
      * eager
      
      * fix some eager logic, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * patch_tensor_method_func, test=develop
      
      * refine, test=develop
      
      * eager test case, test=develop
      
      * refine, test=develop
      
      * eager, test=develop
      
      * eager, test=develop
      
      * eager optimizer, test=develop
      
      * eager optimizer, test=develop
      
      * eager test_imperative_optimizer_v2, test=develop
      
      * eager, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * eager, test=develop
      
      * add resize in share buffer to, test=develop
      
      * eager, test=develop
      
      * fix _share_buffer_to, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * support eager for dataloader,test=develop
      Co-authored-by: Njim19930609 <jim19930609@gmail.com>
      Co-authored-by: NJiabinYang <360788950@qq.com>
      d21074cd
  13. 10 1月, 2022 1 次提交
  14. 05 1月, 2022 1 次提交
    • W
      [Eager] Support test imperative basic in eager test_empty_grad (#38376) · 9108e777
      wanghuancoder 提交于
      * 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
      
      * eager test case
      
      * support inference test
      
      * refine test and fix initializer failed
      
      * modify eagertensor patch method
      
      * add eagertensor.clear_grandint, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * call monkey_patch_varbase in _test_eager_guard, test=develop
      
      * split clear_gradient to clear_gradient and zero_grads, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      Co-authored-by: Njim19930609 <jim19930609@gmail.com>
      Co-authored-by: NJiabinYang <360788950@qq.com>
      9108e777
  15. 04 1月, 2022 1 次提交
  16. 27 12月, 2021 1 次提交
  17. 24 12月, 2021 2 次提交
    • zhouweiwei2014's avatar
      add new API/OP: paddle.poisson (#38117) · bcf86e5c
      zhouweiwei2014 提交于
      * add new API/OP:paddle.poisson
      
      * fix comment
      bcf86e5c
    • 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
  18. 06 12月, 2021 1 次提交
  19. 25 11月, 2021 1 次提交
  20. 19 11月, 2021 1 次提交
  21. 09 6月, 2021 1 次提交
  22. 29 4月, 2021 1 次提交
  23. 26 4月, 2021 1 次提交
  24. 19 4月, 2021 1 次提交
  25. 24 11月, 2020 1 次提交
    • L
      Upgrade string literals to raw string (#28989) · 3815d7aa
      Leo Chen 提交于
      * upgrade comment string to raw string
      
      * fix string in
      
      * fix string with ' '
      
      * revert update on comments
      
      * upgrade only necessary
      
      * fix sample code checker
      
      * fix comments with '''
      3815d7aa
  26. 19 11月, 2020 1 次提交
  27. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  28. 14 10月, 2020 1 次提交
    • Z
      Update example codes of ConstantInitializer & MSRAInitializer (#27915) · b3cfb021
      zhulei 提交于
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * test=document_fix
      
      * test=document_fix
      b3cfb021
  29. 09 10月, 2020 1 次提交
  30. 28 9月, 2020 1 次提交
  31. 18 6月, 2020 1 次提交
    • Z
      add new API: set_global_initializer (#24378) · 542a226c
      Zhou Wei 提交于
      * add new api (set_global_initializer/reset_global_initializer),test=develop
      
      * add new api (set_global_initializer/reset_global_initializer),test=develop
      
      * fix doc and example code of set_global_initializer,test=develop
      542a226c
  32. 03 6月, 2020 1 次提交
  33. 29 4月, 2020 1 次提交
  34. 14 4月, 2020 1 次提交
  35. 19 3月, 2020 1 次提交
  36. 23 2月, 2020 1 次提交
  37. 11 2月, 2020 1 次提交
  38. 24 12月, 2019 1 次提交