1. 30 10月, 2020 1 次提交
    • Z
      Add median api. (#28310) · 26ede6e0
      zhulei 提交于
      * Add median api.
      
      * Add median api.
      
      * Add median api.
      
      * Add median api.
      
      * Add median api.
      26ede6e0
  2. 26 10月, 2020 1 次提交
    • 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
  3. 21 10月, 2020 1 次提交
    • 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
  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. 13 10月, 2020 2 次提交
    • 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
    • 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
  6. 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
  7. 23 9月, 2020 1 次提交
    • 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
  8. 22 9月, 2020 1 次提交
  9. 21 9月, 2020 1 次提交
  10. 17 9月, 2020 1 次提交
  11. 11 9月, 2020 1 次提交
  12. 27 8月, 2020 1 次提交
  13. 24 8月, 2020 1 次提交
  14. 23 8月, 2020 1 次提交
  15. 22 8月, 2020 1 次提交
  16. 21 8月, 2020 4 次提交
  17. 20 8月, 2020 1 次提交
  18. 19 8月, 2020 2 次提交
    • 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
    • W
      【API2.0】add Chunk API (#26314) · 2101dfd2
      wangchaochaohu 提交于
      2101dfd2
  19. 18 8月, 2020 1 次提交
  20. 15 8月, 2020 2 次提交
  21. 12 8月, 2020 1 次提交
  22. 30 7月, 2020 1 次提交
  23. 23 7月, 2020 1 次提交
    • C
      New features, add sinh and cosh op, test=develop (#25495) · 70cee22f
      cnn 提交于
      * New features, add sinh and cosh op, test=develop
      
      * remove duplicate test function and remove out paramters, test=develop
      
      * Add out paramters temporary, remove later. test=develop
      
      * remove out args, PR 25570, test=develop
      
      * remove TestParameter, test=developx
      
      * add test api for static dygraph, test=develop
      
      * add backword unittests for sinh and cosh, test=develop
      70cee22f
  24. 21 7月, 2020 1 次提交
    • S
      add op multiply, delete op elementwise_mul from math.py. (#25480) · e3736d73
      Shibo Tao 提交于
      * add op multiply, delete op elementwise_mul from math.py. test=develop,test=document_fix
      
      * bug fix. test=develop,test=document_fix
      
      * bug fix. test=develop,test=document_fix
      
      * bug fix. test=develop,test=document_fix
      
      * bug fix. test=develop,test=document_fix
      
      * add unittest for multiply op. test=develop.
      
      * fix code style. test=develop
      
      * use random input. test=develop
      
      * add test error case for static computation graph. test=develop
      
      * add np.random.seed(7)
      
      * increase input ndarray size. test=develop
      
      * change float32 to float64. test=develop
      e3736d73
  25. 16 7月, 2020 1 次提交
    • S
      delete mul op. (#25499) · 6602ccf4
      Shibo Tao 提交于
      * delete mul op. test=develop,test=document_fix
      
      * bug fix. test=develop,test=document_fix
      6602ccf4
  26. 14 7月, 2020 1 次提交
    • Y
      modify flip test=develop (#25312) · 5d3766ff
      yaoxuefeng 提交于
      According to paddle 2.0 standard
      1, change flip api attr name 'dim' to 'axis'.
      2, support empty axis
      3, change example code to imperative mode.
      5d3766ff
  27. 02 6月, 2020 1 次提交
  28. 15 5月, 2020 1 次提交
  29. 29 4月, 2020 1 次提交
  30. 27 4月, 2020 2 次提交
    • L
      Add trace op (#23873) · 077e5a0f
      Li Fuchen 提交于
      * add trace op, test=develop
      
      * Optimized the implementation of trace op, test=develop
      
      * fix a bug of include in trace_op.h, test=develop
      
      * move trace API from creation to math, test=develop
      
      * modified en doc. test=develop
      
      * add complex trace api
      
      * add complex sum api, test=develop
      
      * modified en doc of complex sum and trace, test=develop
      
      * modified doc and trace API, test=develop
      
      * modified en doc of trace and sum, test=develop
      
      * modified comment in complex kron API, test=develop
      
      * OP Should Not Have Unused Input, test=develop
      
      * add GetExpectedKernelType, test=develop
      077e5a0f
    • Y
      Add the implementation of inverse (#23310) · ecfddebb
      Yiqun Liu 提交于
      ecfddebb
  31. 26 4月, 2020 1 次提交
  32. 25 4月, 2020 1 次提交
    • F
      add kron op (#24105) · e01262e6
      Feiyu Chan 提交于
      * add kron op and its python API, doc and unittests.
      * add kron in paddle.complex
      e01262e6
  33. 23 4月, 2020 1 次提交
    • Q
      add gather split squeeze stack unsqueeze api (#24035) · 13b03e7a
      Qinghe JING 提交于
      * add gather split squeeze stack unsqueeze api test=develop
      
      * add gather split squeeze stack unsqueeze api test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      13b03e7a