1. 29 4月, 2021 1 次提交
  2. 27 4月, 2021 1 次提交
  3. 12 4月, 2021 1 次提交
    • Z
      [Rocm] fix python test of multinomial (#32158) · 4b5cb22f
      zhulei 提交于
      * [Rocm] fix python test of multinomial
      
      * [Rocm] fix python test of multinomial
      
      * [Rocm] fix python test of multinomial
      
      * [Rocm] fix python test of multinomial
      4b5cb22f
  4. 27 11月, 2020 1 次提交
  5. 23 11月, 2020 1 次提交
  6. 17 11月, 2020 1 次提交
  7. 21 10月, 2020 2 次提交
    • 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
    • fix bugs test=develop (#28125) · 085b9619
      李灿 提交于
      085b9619
  8. 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
  9. 16 10月, 2020 1 次提交
  10. 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
  11. 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
  12. 22 9月, 2020 1 次提交
  13. 04 9月, 2020 2 次提交
  14. 03 9月, 2020 1 次提交
  15. 31 8月, 2020 1 次提交
  16. 26 8月, 2020 1 次提交
  17. 23 8月, 2020 1 次提交
  18. 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
  19. 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
  20. 29 7月, 2020 1 次提交
  21. 20 7月, 2020 1 次提交
  22. 15 7月, 2020 1 次提交
  23. 14 7月, 2020 1 次提交
  24. 10 7月, 2020 1 次提交
  25. 07 7月, 2020 1 次提交
  26. 15 5月, 2020 1 次提交
  27. 14 5月, 2020 2 次提交
  28. 26 4月, 2020 1 次提交
  29. 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
  30. 20 4月, 2020 1 次提交
  31. 17 4月, 2020 1 次提交
  32. 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
  33. 07 4月, 2020 1 次提交
  34. 06 4月, 2020 1 次提交
  35. 23 3月, 2020 1 次提交
  36. 12 12月, 2019 1 次提交