1. 21 10月, 2020 1 次提交
  2. 19 10月, 2020 1 次提交
    • P
      Fix error message of multinomial op (#27946) · 975bd887
      pangyoki 提交于
      * fix multinomial doc
      
      * fix multinomial error message
      
      * little doc change
      
      * fix Categorical class doc
      
      * optimize format of error message
      
      * fix CPU Kernel error message format
      
      * fix isinf and isnan error in WindowsOPENBLAS CI
      
      * delete inf and nan
      
      * add manual_seed in sample code
      
      * little error message change
      
      * change error message to InvalidArgument
      
      * add full point for error message and add manual_seed in CPU environment
      975bd887
  3. 16 10月, 2020 1 次提交
  4. 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
  5. 29 9月, 2020 1 次提交
    • P
      add multinomial op (#27219) · 7cd2c13f
      pangyoki 提交于
      * add multinomial cpu kernel
      
      * fix C++ notype error
      
      * fix windows ci array len error
      
      * let array len be const
      
      * change array to vector
      
      * add cuda kernrl with num_distribution is 1, and not support replacement=False
      
      * add multinomial python api
      
      * support num_distribution different multinomial distributions
      
      * add multinomial python api unittest
      
      * change output dtype to int64
      
      * fix coverage prob
      
      * optimize format
      
      * fix dtype of output error, should be int64_t
      7cd2c13f
  6. 22 9月, 2020 1 次提交
  7. 04 9月, 2020 2 次提交
  8. 03 9月, 2020 1 次提交
  9. 31 8月, 2020 1 次提交
  10. 26 8月, 2020 1 次提交
  11. 23 8月, 2020 1 次提交
  12. 21 8月, 2020 2 次提交
    • L
      add bernoulli op (#26511) · aa2a9b5d
      Leo Chen 提交于
      * add bernoulli op
      
      * fix cuda kernel and add unit test
      
      * refine doc
      
      * fix uniform
      aa2a9b5d
    • P
      Rename uniform_random API (#26347) · bdac6bc8
      pangyoki 提交于
      * Rename uniform and gaussian APIs
      
      * rename uniform_random API as uniform
      
      * Fixed unittest
      
      * fixed unittest AttributeError
      
      * Fixed unittest
      
      * Add uniform function rather than alias
      
      * remove templatedoc
      
      * solve conflict and fix doc code
      
      * fix doc code
      bdac6bc8
  13. 11 8月, 2020 1 次提交
    • P
      Paddle-2.0 API directory migration (#25898) · 2efcb481
      pangyoki 提交于
      * Directory migration, test=develop
      
      * Change imperative from paddle init to paddle framework, test=develop
      
      * Fixed jit bug, test=develop
      
      * default static mode, test=develop
      
      * fixed format and create parameter belongs to framework, test=develop
      
      * Fixed import package, test=develop
      
      * fix __init__ format, test=develop
      
      * fixed alias problem
      
      * fixed paddle.enable_imperative problems, test=develop
      
      * Add unittest
      
      * delete install_check comment
      
      * Fixed unittest timeout
      
      * fixed unittest error
      
      * move Program default_xx_program to static package
      
      * optimize unittest method
      
      * fixed framework __init__ format
      
      * fixed jit path
      
      * delete alias
      
      * move jit to paddle
      
      * Fixed unittest format
      
      * fixed paddle.default_main_program
      
      * Fixed save load API in paddle __init__.py
      
      * fixed ci paddle.imperative.to_variable
      2efcb481
  14. 29 7月, 2020 1 次提交
  15. 20 7月, 2020 1 次提交
  16. 15 7月, 2020 1 次提交
  17. 14 7月, 2020 1 次提交
  18. 10 7月, 2020 1 次提交
  19. 07 7月, 2020 1 次提交
  20. 15 5月, 2020 1 次提交
  21. 14 5月, 2020 2 次提交
  22. 26 4月, 2020 1 次提交
  23. 22 4月, 2020 1 次提交
    • X
      upload code for tensor.rand (#23507) · 614eb942
      Xing Wu 提交于
      * upload code for tensor.rand
      
      * fix import
      
      * update example, change paddle.tensor.rand to paddle.rand
      
      * change 'variable' to 'Variable',  test=develop
      
      change 'variable' to 'Variable' in description,  test=develop
      
      * add pre-commit check
      
      * add pre-commit check
      
      * pre-commit check, test=develop
      
      * add more unittest code
      
      * trigger ci, test=develop
      
      * pre-commit check, test=develop
      
      * update api and test comment, test=develop
      
      * update api and test comment, test=develop
      
      * add more type check, test=develop
      
      * add detail error info for device, test=develop
      
      * add unnittest, test=develop
      
      * resolve conflict and pre-commit check, test=develop
      614eb942
  24. 20 4月, 2020 1 次提交
  25. 17 4月, 2020 1 次提交
  26. 13 4月, 2020 1 次提交
    • G
      Add new API : randn (#23211) · 73f421f7
      guofei 提交于
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * aAdd new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      
      * Add new API : randn
      
      test=develop
      73f421f7
  27. 07 4月, 2020 1 次提交
  28. 06 4月, 2020 1 次提交
  29. 23 3月, 2020 1 次提交
  30. 12 12月, 2019 1 次提交
  31. 19 2月, 2019 1 次提交
  32. 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
  33. 02 2月, 2019 1 次提交
  34. 15 8月, 2018 1 次提交
  35. 24 2月, 2018 2 次提交
  36. 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