1. 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
  2. 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
  3. 03 6月, 2021 1 次提交
  4. 25 4月, 2021 1 次提交
  5. 19 4月, 2021 1 次提交
  6. 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
  7. 18 8月, 2020 1 次提交
  8. 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
  9. 10 4月, 2020 1 次提交
  10. 28 2月, 2020 1 次提交
  11. 11 1月, 2020 1 次提交
    • H
      Check dygraph weight name (#22140) · 6e04334c
      hong 提交于
      * add parameter check; test=develop
      
      * change parameter name checker in dygraph guard; test=develop
      
      * fix test layers error; test=develop
      
      * revert some code to develop; test=develop
      
      * fix exampel error; test=develop
      
      * fix comment error; test=develop
      
      * fix comment error; test=develop
      6e04334c
  12. 27 12月, 2019 1 次提交
  13. 22 12月, 2019 1 次提交
  14. 09 12月, 2019 1 次提交
    • L
      Refine VarBase init function (#21587) · 4f81d1bd
      Leo Chen 提交于
      * refine init function, test=develop
      
      * add tests, test=develop
      
      * remove extern, which may cause symbol error in gcc-4.8, test=develop
      4f81d1bd
  15. 05 12月, 2019 1 次提交
    • L
      Split VarBase from Python Variable for Dygraph (#21359) · cdd46d7e
      Leo Chen 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * don't expose numerous Tensor.set(), test=develop
      
      * fix condition, test=develop
      
      * fix float16 bug, test=develop
      
      * feed should be Tensor or np.array, not Variable or number, test=develop
      
      * use forcecast to copy numpy slice to new array, test=develop
      
      * remove float16-uint16 hacking, test=develop
      
      * add variable method to varbase and refactor to_variable to support return varbase
      
      * support kwargs in varbase constructor
      
      * add VarBase constructor to support default python args
      
      * refine varbase initial method
      
      * reset branch
      
      * fix ut for change VarBase error info to PaddleEnforce
      
      * cherry is parameter change before
      
      * overload isinstance to replace too many change of is_variable
      
      * rm useless files
      
      * rm useless code merged by git
      
      * test=develop, fix some ut failed error
      
      * test=develop, fix test_graph_wrapper
      
      * add some tests, test=develop
      
      * refine __getitem__, test=develop
      
      * add tests, test=develop
      
      * fix err_msg, test=develop
      cdd46d7e
  16. 21 9月, 2019 1 次提交
    • J
      Feature/auto prune in dygraph (#19757) · 45425411
      Jiabin Yang 提交于
      * refactor dygraph,test=develop
      
      * fix failed unittest,test=develop
      
      * polish code,test=develop
      
      * check windows ci error,test=develop
      try to fix windows ci error by np.allclose,test=develop
      
      * polish vlog and profiler, test=develop
      
      * try to fix preceding ops order,test=develop
      
      * test transformer in windows ci, test=develop
      
      * use python c-api to speed up tracer.trace,test=develop
      
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, add ut for debug string and gradient_accumulator
      
      * test=develop, add tests for layer/gradient_accumulator/prepared_op
      
      * test=develop, fix complie error for test_prepared_op
      
      * test=develop, add more ut for dygraph
      
      * test=develop, create API.spec for dygraph api change
      
      * test=develop, refoctor name to make it easier to understand
      
      * test=develop, refoctor name to make it easier to understand
      
      * test=develop, fix multi-gpu failed problem , add Tracer tests, change PADDLEENFORCE to PADDLEENFORCE_EQ
      
      * test=develop, fix ut failed on parallel se-resnext
      
      * test=develop, change one more PADDLE_ENFORCE
      
      * support auto prune in dygraph mode
      
      * test=develop, support auto prune
      
      * test=develop, merge develop conflict
      
      * test=develop, fix test_layer and test_tracer ut
      
      * test=develop, fix bug which may cause stop_gradient disabled with a list of backward inputs
      45425411
  17. 05 8月, 2019 1 次提交
  18. 24 5月, 2019 1 次提交
  19. 28 3月, 2019 1 次提交
  20. 26 3月, 2019 1 次提交
    • J
      add layer norm to Layers, add transformer test in imperative mode (#16092) · f735102e
      Jiabin Yang 提交于
      * add layer norm to Layers, add transformer prepare encoding
      
      * little change
      
      * finish encoder part
      
      * add decoder part
      
      * finish model part
      
      * add test case and part of data feed
      
      * add transformer test
      
      * add to_parameter, add remove in set_attr
      
      * test=develop, fix pos encoding bug, create_parameter with stantard name
      
      * test=develop, rm dropout test in imperative
      
      * test=develop, fix cpu error
      
      * test=develop, fix minize bug
      
      * test=develop, fix one hot not stop gradient
      
      * test=develop, fix one hot not stop gradient
      
      * test=develop, refine parameter name
      
      * test=develop, fix transformer test in imperative mode
      
      * test=develop, fix transformer test in imperative mode
      
      * test=develop, fix boost and mkl download error
      
      * test=develop, fix boost and mkl download error
      
      * test=develop, fix ci and refine code
      
      * test=develop, fix ci and refine code
      f735102e
  21. 08 3月, 2019 1 次提交
  22. 06 3月, 2019 2 次提交
    • J
      test=develop, reconstruct layer helper to fit imperative usage (#15938) · ab19d92e
      Jiabin Yang 提交于
      * test=develop, reconstruct layer helper to fit imperative usage
      
      * test=develop, fix import error on py35
      
      * test=develop, fix rnn gradient error
      
      * test=develop, delete test use code
      
      * test=develop, remove helper from imperative usage
      
      * test=develop, fix test_base_layer using new helper
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, fix bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix bug
      
      * test=develop, polish code
      ab19d92e
    • J
      test=develop, reconstruct layer helper to fit imperative usage (#15938) · 654825cf
      Jiabin Yang 提交于
      * test=develop, reconstruct layer helper to fit imperative usage
      
      * test=develop, fix import error on py35
      
      * test=develop, fix rnn gradient error
      
      * test=develop, delete test use code
      
      * test=develop, remove helper from imperative usage
      
      * test=develop, fix test_base_layer using new helper
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, fix bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix bug
      
      * test=develop, polish code
      654825cf
  23. 22 2月, 2019 1 次提交
  24. 12 2月, 2019 1 次提交
  25. 29 1月, 2019 1 次提交
  26. 23 1月, 2019 1 次提交
  27. 21 1月, 2019 4 次提交
  28. 16 1月, 2019 2 次提交
    • X
      fix · d1ac5675
      Xin Pan 提交于
      test=develop
      d1ac5675
    • X
      fix bias · bfa2621f
      Xin Pan 提交于
      test=develop
      bfa2621f
  29. 29 12月, 2018 1 次提交
  30. 27 12月, 2018 5 次提交
  31. 20 12月, 2018 1 次提交