1. 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
  2. 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
  3. 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
  4. 22 8月, 2020 1 次提交
  5. 21 8月, 2020 1 次提交
  6. 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
  7. 06 8月, 2020 1 次提交
  8. 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
  9. 21 5月, 2020 1 次提交
  10. 12 5月, 2020 1 次提交
  11. 26 4月, 2020 1 次提交
  12. 23 3月, 2020 1 次提交
  13. 12 12月, 2019 1 次提交
  14. 19 2月, 2019 1 次提交
  15. 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
  16. 02 2月, 2019 1 次提交
  17. 15 8月, 2018 1 次提交
  18. 24 2月, 2018 2 次提交
  19. 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
  20. 12 2月, 2018 1 次提交
  21. 24 1月, 2018 1 次提交
  22. 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
  23. 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
  24. 14 11月, 2017 1 次提交
  25. 21 10月, 2017 1 次提交