1. 20 7月, 2022 1 次提交
  2. 13 6月, 2022 1 次提交
    • L
      Fix some en docs of paddle. and paddle.nn.initialize. (#42916) · 4f006636
      Liyulingyue 提交于
      * calculate_gain; test=document_fix
      
      * Constant; test=document_fix
      
      * KaimingNormal; test=document_fix
      
      * KaimingUniform; test=document_fix
      
      * randint; test=document_fix
      
      * squeeze;test=document_fix
      
      * argmin; test=document_fix
      
      * argmin; test=document_fix
      
      * triu; test=document_fix
      
      * add_n;test=document_fix
      
      * unique; test=document_fix
      
      * topk; test=document_fix
      
      * squeeze;test=document_fix
      
      * randint;test=document_fix
      
      * argmin; test=document_fix
      
      * constant; test=document_fix
      
      * constant; test=document_fix
      
      * KaimingNormal; test=document_fix
      
      * kaiming; test=document_fix
      
      * unique; test=document_fix
      4f006636
  3. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  4. 01 6月, 2022 1 次提交
  5. 31 5月, 2022 1 次提交
  6. 18 5月, 2022 1 次提交
  7. 13 4月, 2022 1 次提交
  8. 12 4月, 2022 1 次提交
    • C
      [Yaml]add gaussian_random yaml and test case (#41312) · 4819ab4d
      chentianyu03 提交于
      * add guassian random yaml
      
      * add gaussian_random yaml and test case
      
      * fix error modify of full yaml
      
      * import in_dygraph_mode
      
      * import _in_legacy_dygraph
      
      * add place arg in api
      
      * import __current_expected_place
      
      * fix test_egr_python_api failed case
      
      * add test case
      
      * add cast for NormalInitializer
      
      * fix test error
      
      * fix test error
      
      * rm unsed check code
      
      * fix test error in test_initializer_nn
      
      * modify by review
      4819ab4d
  9. 11 4月, 2022 1 次提交
  10. 04 4月, 2022 1 次提交
  11. 03 4月, 2022 1 次提交
  12. 01 4月, 2022 1 次提交
  13. 24 2月, 2022 1 次提交
  14. 22 2月, 2022 1 次提交
  15. 27 12月, 2021 1 次提交
  16. 24 12月, 2021 2 次提交
  17. 22 12月, 2021 1 次提交
  18. 02 11月, 2021 1 次提交
    • Y
      [PaddlePaddle hackathon] Add randint_like (#36169) · 41a09113
      yujun 提交于
      * add randint like
      
      * rm .cc .cu
      
      * Update unity_build_rule.cmake
      
      * try to make test pass
      
      * use python
      
      * update
      
      * update randint_like
      
      * rename test_randint_like_op -> test_randint_like
      
      * update
      
      * update randint like docs
      
      * update randint like
      
      * update
      
      * update
      
      * add bool
      
      * update randint like test
      
      * update
      
      * update
      41a09113
  19. 27 8月, 2021 1 次提交
  20. 15 7月, 2021 1 次提交
  21. 05 7月, 2021 1 次提交
  22. 29 4月, 2021 1 次提交
  23. 27 4月, 2021 1 次提交
  24. 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
  25. 27 11月, 2020 1 次提交
  26. 23 11月, 2020 1 次提交
  27. 17 11月, 2020 1 次提交
  28. 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
  29. 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
  30. 16 10月, 2020 1 次提交
  31. 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
  32. 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
  33. 22 9月, 2020 1 次提交
  34. 04 9月, 2020 2 次提交
  35. 03 9月, 2020 1 次提交
  36. 31 8月, 2020 1 次提交
  37. 26 8月, 2020 1 次提交