1. 14 10月, 2020 1 次提交
    • C
      Remove and reorganize the alias of APIs (#27717) · d05058d2
      chentianyu03 提交于
      * modify cond while_loop to paddle.static.nn.cond
      
      * modify crop_tensor to paddle.crop
      
      * modify Variable to paddle.static.Variable
      
      * remove nn.beam_search, nn.beam_search_decode, nn.gather_tree
      
      * remove bpr_loss, center_loss, rank_loss, smooth_l1, teacher_student_sigmoid_loss, edit_distance, sampled_softmax_with_cross_entropy in nn.functional
      
      * remove apis in nn.functional.learn_rate.py
      
      * remove pool2d, pool3d, adaptive_pool2d, adaptive_pool3d in nn.functional
      
      * remove apis in nn.functional.vision
      
      * remove erf, soft_relu in nn.functional.activation
      
      * remove apis in nn.functional.extension
      
      * remove nn.functional.rnn
      
      * remove hash from nn.functional.lod
      
      * remove row_conv from nn.functional.extension
      
      * remove one_hot, pad2d, pad_constant_like from nn.functional.common
      
      * remove nn.gather_tree, nn.BilinearTensorProduct, nn.Pool2D, nn.Pad2D
      
      * remove apis from optimizer.__init
      
      * remove tensor.creation.fill_constant
      
      * remove elementwise_mul in nn.functional.common and  modify to paddle.multiply
      
      * remove  tensor.stat.reduce_mean
      
      * remove reduce_all, reduce_any in tensor.logic
      
      * remove apis in tensor.math
      
      * remove apis in tensor.__init__
      
      * remove has_inf, has_nan in tensor.search
      
      * remove apis in framework.__init__
      
      * remove apis in paddle.__init__
      
      * remove apis in nn.functional.__init__
      
      * modify removed alias apis to raw api in doc and unittests
      
      * fix remove grid_sample bug
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * delete alias api relastions in doc
      
      * reserve paddle.compat, paddle.sysconfig
      
      * remove unittest for paddle.reduce_all, paddle.reduce_any
      
      * modify removed alias apis to raw api in doc and unittests
      
      * recover paddle.save and paddle.load
      
      * resolve conflicts
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix to_string sample code error
      d05058d2
  2. 10 10月, 2020 1 次提交
  3. 08 9月, 2020 2 次提交
    • T
      fix weight (#26986) · 5dec254b
      tangwei12 提交于
      * fix weight
      
      * fix weight and fix doc
      
      * fix embeeding padding idx
      
      * add UT
      
      * fix interval
      5dec254b
    • X
      fix typo for interp_v2,test=develop (#26843) · 58f3ef98
      xiaoting 提交于
      * fix typo for interp_v2,test=develop
      
      * align with torch, test=develop
      
      * add area mode, test=develop
      
      * fix bug, test=develop
      
      * format notes, test=develop
      
      * update for converage, test=develop
      
      * fix bilinear, test=develop
      
      * fix bicubic, test=develop
      
      * fix typo, test=develop
      
      * fix coverage, test=develop
      
      * fix helper.input_dtype, test=develop
      
      * polish notes, test=develop
      
      * polish notes, test=develop
      
      * polish notes, test=develop
      58f3ef98
  4. 01 9月, 2020 1 次提交
  5. 31 8月, 2020 1 次提交
  6. 28 8月, 2020 1 次提交
  7. 27 8月, 2020 2 次提交
    • X
      add intepolte_v2 (#26520) · 89d7d866
      xiaoting 提交于
      * add intepolte_v2
      
      * fix linear interp
      
      * polish unittest, test=develop
      
      * update code samples to 2.0 API, test=develop
      
      * remove warning, test_develop
      
      * add name in attrs, test=develop
      
      * polish code, test=develop
      
      * change Align to align, test=develop
      
      * fix unittest in py3,test=develop
      
      * fix coverage, test=develop
      
      * fix coverage, test=develop
      
      * fix for windows ci, test=develop
      
      * fix coverage, test=develop
      89d7d866
    • W
      api20, Bilinear add deprecated, and fix english doc (#26610) · 07e3b9a3
      wanghuancoder 提交于
      * API2.0 del old api(BilinearTensorProduct) from nn init.py, test=develop
      
      * add import for deprecated, test=develop
      
      * modify deprecated location, test=develop
      
      * fix english doc, test=develop
      
      * Update __init__.py
      
      * Update __init__.py
      
      * Update common.py
      
      * fix english doc, test=develop
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      07e3b9a3
  8. 24 8月, 2020 2 次提交
    • W
      api2.0 paddle.nn.Bilinear and paddle.nn.functional.bilinear (#26399) · 422a1620
      wanghuancoder 提交于
      * api2.0 paddle.nn.Bilinear and paddle.nn.functional.bilinear, test=develop
      
      * api2.0 fix code examples, test=develop
      
      * modify test_bilinear_api, about place,to_tensor , test=develop
      
      * re pass pre-commit, test=develop
      
      * Update common.py
      
      * fix BilinearTensorProduct ci error, test=develop
      422a1620
    • D
      [API 2.0] add pool2d3d API,test=develop (#26331) · c8e18360
      Double_V 提交于
      * add pool2d3d API,test=develop
      
      * add api unitest,test=develop
      
      * fix unittest, test=develop
      
      * fix reviews, test=develop
      
      * return one element when return indices is true, test=develop
      
      * fix low converage; to_variable to to_tensor, test=develop
      
      * sort API params, test=develop
      
      * fix en doc, merge PR#26108 to here, test=develop
      
      * fix en doc, test=develop
      c8e18360
  9. 23 8月, 2020 1 次提交
    • H
      add alpha_dropout in nn.functional and nn.layer, test=develop (#26365) · 7bd7b188
      huangjun12 提交于
      * add alpha_dropout in nn.functional and nn.layer, test=develop
      
      * refine Interface and assertion, test=develop
      
      * fix ci import error, test=develop
      
      * fix alias and use layers.scale, test=develop
      
      * fix doc and training params, test=develop
      
      * refine details in doc, test=develop
      
      * fix doc details, test=develop
      7bd7b188
  10. 22 8月, 2020 1 次提交
  11. 21 8月, 2020 1 次提交
  12. 19 8月, 2020 1 次提交
    • L
      add pad func (#26106) · bcf03273
      littletomatodonkey 提交于
      * add pad func
      
      * add pad
      
      * test=develop, add pad op and apis
      
      * restore pad2d
      
      * test=develop, fix paddl declare
      
      * fix pad interface
      
      * test=develop, fix pad
      
      * test=develop, add all pad api and cos_sim
      
      * test=develop, remove padding default value
      
      * test=develop, rename var to tensor
      
      * test=develop, add more tests
      
      * test=develop, rename tovar to totensor
      
      * test=develop, fix init
      
      * test=develop, add more test
      
      * test=develop, add more tests
      bcf03273
  13. 06 8月, 2020 1 次提交
  14. 06 7月, 2020 1 次提交
    • C
      add Pad2D and LeakyReLU (#25177) · fc0da42b
      ceci3 提交于
      * add Pad2D and Leaky_ReLU, test=develop
      
      * update,test=develop
      
      * change name,test=develop
      
      * add unittest and redine docs,test=develop
      fc0da42b
  15. 21 5月, 2020 1 次提交
  16. 12 5月, 2020 1 次提交
  17. 26 4月, 2020 1 次提交
  18. 23 3月, 2020 1 次提交
  19. 12 12月, 2019 1 次提交
  20. 19 2月, 2019 1 次提交
  21. 11 2月, 2019 1 次提交
    • B
      Fix ngraph compile WITH_DISTRIBUTE=ON (#15636) · f4a0e684
      baojun 提交于
      * fix compile issue with_distribute test=develop
      
      * simplified logic test=develop
      
      * use ngraph dependency test=develop
      
      * set cpu only test=develop
      
      * update test and eliminate fp16 test test=develop
      f4a0e684
  22. 02 2月, 2019 1 次提交
  23. 15 8月, 2018 1 次提交
  24. 24 2月, 2018 2 次提交
  25. 13 2月, 2018 1 次提交
    • X
      Run Python OP tests in a single Python process to improve test time. (#8362) · cde6241a
      Xin Pan 提交于
      Currently, our tests run with 2 GPUs, the init time is absurdly long:
      about 4s for each process.  Currently, we run each OP test on
      different processes. This PR:
      
      1. create cmake function py_test_modules which will generate the
      Makefile that runs a list of Python unittest module in a single Python
      process.
      
      2. move all "python unittest compatible" (e.g., used the unittest
      package, not just a regular python file). from fluid/tests to
      fluid/tests/unittests.
      
      3. cmake now will run all OP tests in fluid/tests/unittests in a
      single process, except the time-consuming tests, they are separated
      into different processes to utilize parallelism. Please make sure to
      use the unittest package if you put the python test file in
      fluid/tests/unittests
      
      4. remove all exit(0) from fluid/tests/unittests/*.py, exit(0) is used
      to disable unittest, we can not do it when running all tests in a
      single process since it will terminate the process without running the
      other tests. Instead, the test is disabled in
      fluid/tests/unittests/CMakeLists.txt. FIXME is added for each disabled
      item. Please disable the unittest from
      fluid/tests/unittests/CMakeLists.txt, instead of adding exit(0) to the
      Python file, for all Python file in fluid/tests/unittests/.
      
      5. add an option WITH_FAST_BUNDLE_TEST. When OFF, will run the unit
      tests in separate process so that they can be tested individually.
      cde6241a
  26. 12 2月, 2018 1 次提交
  27. 24 1月, 2018 1 次提交
  28. 21 1月, 2018 1 次提交
    • D
      "fix decode bug" (#7711) · e983cc90
      dzhwinter 提交于
      * "fix decode bug"
      
      * "follow commnet"
      
      * "fix error"
      
      * "fix hook bug"
      
      * fix based comment
      
      * fix copyright
      
      * fix based on comment
      e983cc90
  29. 15 1月, 2018 1 次提交
    • D
      Feature/hooks (#7513) · b9b75377
      dzhwinter 提交于
      * add copyright hook
      
      * add copyright hook
      
      * refine copyright hook
      
      * "test copyright hook"
      
      * fix check style
      
      * fix ci
      b9b75377
  30. 14 11月, 2017 1 次提交
  31. 21 10月, 2017 1 次提交