1. 26 10月, 2020 2 次提交
    • C
      [cherry pick ] cherry pick 28108 28198 28199 from release2.0rc (#28215) · 99408718
      cnn 提交于
      * Release 2.0rc cherry pick api rename #28108 (#28184)
      
      * rename count_include_pad-->exclusive  return_indices-->return_mask
      
      * remove track_running_stats
      
      * fix typo.
      
      * rename xxxd-->xxxxD
      
      * solve conflicts
      
      * 2.0rc api add all any (#28199)
      
      * reduce trt warning message (#28011)
      
      add paddle.enable_static() on sample code
      
      alias recude_all-->all, reduce_any-->any
      
      add import reduce_all and reduce_any in python/paddle/tensor/math.py
      
      import all and any in python/paddle/tensor/__init__.py
      
      remove all and any OP in python/paddle/tensor/logic.py, add all and any OP in python/paddle/tensor/math.py
      
      fix import error
      
      remove TestAllAPI temporary
      
      * fix doc of recdue_all and reduce_any, test=document_fix
      
      * fix typo
      
      * fix unittest for all and any API
      Co-authored-by: NPei Yang <peiyang@baidu.com>
      
      * rename conv_transposeXd-->convXd_transpose (#28198)
      
      * fix sample code of reduce_all and reduce_any
      Co-authored-by: NPei Yang <peiyang@baidu.com>
      99408718
    • L
      Refine the format of printing tensor 2 (#28216) · f4f823c8
      Leo Chen 提交于
      * refine format
      
      * update doc
      
      * handle uninitialized tensor
      
      * add ut
      f4f823c8
  2. 21 10月, 2020 3 次提交
    • 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
    • Z
      Add new api: is_tensor (#28111) · 446d184e
      zhulei 提交于
      * Add new api: is_tensor
      
      * Add new api: is_tensor
      
      * Add new api: is_tensor
      
      * Add new api: is_tensor
      446d184e
  3. 19 10月, 2020 3 次提交
    • L
      [API 2.0: doc] transfer from paddle.fluid.layers.assign() into creation.py (#27999) · e21b13fb
      liuyuhui 提交于
      * transfer from paddle.fluid.layers.assign() into creation.py,test=develop
      
      * fix ut fail,add support for paddle.assign,test=develop
      
      * fix,test=develop
      
      * fix UT coverage,test=coverage
      
      * fix UT fail,test=coverage
      
      * fix doc,test=develop
      e21b13fb
    • H
      Allclose op (#27891) · d4668938
      huangxu96 提交于
      * Still has bugs.
      
      * Fixed allclose_op bug, which cannot deal with some cases of fp64 inputs.
      
      * improved CUDA kernel performance.
      
      * Changed CUDA code.
      
      * Fixed a bug in cuda kernel which cannot deal with large dimension input, and added an unittest for it.
      
      * Add a test case for float32 input.
      d4668938
    • 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
  4. 16 10月, 2020 1 次提交
  5. 15 10月, 2020 1 次提交
  6. 14 10月, 2020 4 次提交
    • 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
    • L
      Refine tensor to_string (#27925) · ae6ad23c
      Leo Chen 提交于
      * refine to_string
      
      * re-enable ut
      ae6ad23c
    • L
      [API 2.0: doc] fix doc of linspace cast assign addcmul (#27897) · 72efd830
      liuyuhui 提交于
      * update assign/cast/linspace/addcmul op doc for 2.0 api,test=document_fix
      
      * fix bug about cast doc for 2.0 api,test=document_fix
      72efd830
    • A
      Made a change in python API to support the GPU version of unique OP working in... · 9209f341
      AshburnLee 提交于
      Made a change in python API to support the GPU version of unique OP working in static graph (#27899)
      
      * Made a change to support unique op working in static graph
      
      * Correct python format error
      9209f341
  7. 13 10月, 2020 4 次提交
    • L
      Refine the format of printing tensor (#27673) · 049696bf
      Leo Chen 提交于
      * add sumary feature
      
      * refine printting tensor
      
      * add sci_mode
      
      * add sample code
      
      * fix indent error
      
      * fix _format_item
      
      * polish code
      
      * support item indent
      
      * add ut
      
      * set place for ut
      
      * fix py2 issue
      
      * fix ut
      049696bf
    • C
      update index sample (#27839) · 9637d963
      Chengmo 提交于
      * update index sample
      9637d963
    • S
      Update api 2.0 for some ops · 92b3a717
      Steffy-zxf 提交于
      * 1. remove paddle.unique_with_counts api, which counts as unique api
      2. add paddle.math.increment(x, value=1.0, name=None) api
      3. replace paddle.sums with paddle.add_n api
      4. update paddle.metric.accuracy api (add name parameter)
      92b3a717
    • S
      Update code examples for api2.0 · 9215ad96
      Steffy-zxf 提交于
      Update code examples for api2.0 
      9215ad96
  8. 12 10月, 2020 2 次提交
  9. 10 10月, 2020 1 次提交
  10. 09 10月, 2020 1 次提交
  11. 30 9月, 2020 4 次提交
  12. 29 9月, 2020 4 次提交
  13. 28 9月, 2020 2 次提交
  14. 27 9月, 2020 1 次提交
  15. 25 9月, 2020 1 次提交
  16. 23 9月, 2020 2 次提交
    • C
      Add new paddle.save/load APIs (#27331) · bb84f0e6
      Chen Weihang 提交于
      * init commit of new save/load
      
      * fix failed unittests
      
      * fix save_load_v2 unittest failed
      
      * fix failed unittest & polish doc
      
      * add tests for coverage
      
      * add more tests & move static apis
      
      * fix example code error
      
      * polish emample code
      
      * fix detail example code problem
      bb84f0e6
    • Z
      Make the Bind Method of Tensor more automatic (#27270) · 1e1ae5c5
      Zhou Wei 提交于
      * Makes the Bind Method more intelligent
      
      * Makes the Bind Method more intelligent
      
      * fix unittest
      
      * fix unittest
      
      * fix conflict
      1e1ae5c5
  17. 22 9月, 2020 1 次提交
  18. 21 9月, 2020 1 次提交
  19. 17 9月, 2020 1 次提交
  20. 14 9月, 2020 1 次提交