1. 11 11月, 2020 1 次提交
  2. 04 11月, 2020 1 次提交
    • L
      Add broadcast_shape api (#28257) · 8b2436a7
      Leo Chen 提交于
      * add broadcast_shape api
      
      * add ut
      
      * follow comments
      
      * add example code, test=dodument_fix
      
      * update example code, test=document_fix
      8b2436a7
  3. 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
  4. 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
  5. 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
    • 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
  6. 19 10月, 2020 1 次提交
  7. 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
  8. 13 10月, 2020 3 次提交
    • 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
    • Z
      fix english doc, unittest, and remove useless alias of 2.0 lr_scheduler (#27686) · e122e164
      Zhou Wei 提交于
      * fix doc and unittest of 2.0 lr_scheduler
      
      * fix doc of 2.0 lr_scheduler
      
      * fix unittest
      
      * fix english doc of lr_scheduler
      
      * fix api name of lr scheduler
      
      * fix api name of lr scheduler
      e122e164
  9. 11 10月, 2020 1 次提交
  10. 30 9月, 2020 1 次提交
  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. 28 9月, 2020 1 次提交
  13. 27 9月, 2020 2 次提交
  14. 22 9月, 2020 2 次提交
    • P
      Use dygraph mode by default (#27443) · 827ac36f
      pangyoki 提交于
      * default open dygraph mode
      
      * fix CI-Mac
      
      * fix Mac-CI other unittest file
      
      * fix CI-Py3
      
      * fix test_communicator_geo and test_buffer_shared_memory_reuse_pass
      
      * add enable_static to fix CI-Py3
      
      * add enable_static to fix CI-coverage
      
      * delete try except
      827ac36f
    • K
      remove paddle.readers API (#26727) · 18f2ea66
      Kaipeng Deng 提交于
      * remove paddle.readers API. test=develop
      18f2ea66
  15. 21 9月, 2020 1 次提交
  16. 17 9月, 2020 1 次提交
  17. 16 9月, 2020 1 次提交
  18. 11 9月, 2020 1 次提交
  19. 04 9月, 2020 1 次提交
  20. 03 9月, 2020 2 次提交
  21. 02 9月, 2020 1 次提交
  22. 31 8月, 2020 1 次提交
    • Q
      Move hapi to python/paddle root dir. (#26442) · f7fb4c22
      qingqing01 提交于
      * Move hapi form paddle/incubate to paddle
      
      * Remove vision/datasets/utils.py and clean code
      
      * Add sample code for conll05
      
      * Print pull path when saving model
      
      * Fix sample code after paramter_list of SGD is changed to parameters
      
      * Fix bug in wmt16 datase
      f7fb4c22
  23. 28 8月, 2020 2 次提交
    • C
      Add interface to launch parallel dygraph by multiprocessing (#26044) · 31f422ae
      Chen Weihang 提交于
      * add dygraph parallel run interface
      
      * polish implement & unified env property name
      
      * add print config arg
      
      * refactor init_parallel_env function
      
      * Compatible with multiprocessing and launch modes
      
      * set default trainer start port
      
      * support run in python 2
      
      * polish python2 support code
      
      * remove python2 support
      
      * refine launch import
      
      * polish dome design details
      
      * refactor api implemention & path
      
      * use new method _set_expected_place
      
      * add spawn unittest framework & mnist test
      
      * add more unittests & doc
      
      * fix unittest failed
      
      * polish english doc
      
      * self review and polish details
      
      * refactor code by reviewer's comments
      
      * fix unittest failed
      
      * fix parallel_env unittest
      
      * fix several typos
      
      * fix error introduced when fixing typos
      
      * add unpublic note for start_processes
      
      * polish details by xiaoguang's comment
      
      * verify correctly when spawn nprocs=-1
      
      * refactor spawn & init_parallel_env design
      
      * polish doc details
      
      * open spawn unittests
      
      * try to fix doc compile error
      
      * try to fix unknown doc format error
      
      * add skip unittest when not gpu
      31f422ae
    • Z
      Update the demo code and the doc of varbase.backward. (#26506) · f9066e6a
      Zhen Wang 提交于
      * update the demo code and the doc of varbase.backward.
      
      * update the doc of the fake interface `paddle.fluid.Variable`.
      
      * remove BackwardStrategy.
      f9066e6a
  24. 27 8月, 2020 1 次提交
  25. 24 8月, 2020 1 次提交
  26. 23 8月, 2020 1 次提交
  27. 22 8月, 2020 1 次提交
  28. 21 8月, 2020 6 次提交
    • L
      add bernoulli op (#26511) · aa2a9b5d
      Leo Chen 提交于
      * add bernoulli op
      
      * fix cuda kernel and add unit test
      
      * refine doc
      
      * fix uniform
      aa2a9b5d
    • W
      e167e879
    • 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
    • Z
      [2.0API]Bind method for tensor and Variable (#26416) · ce7d5263
      Zhou Wei 提交于
      * binding tensor method
      
      * binding tensor method
      
      * binding tensor method
      
      * Binding methods for class Tensor and Variable
      ce7d5263
    • Y
      Update `paddle.clamp` (#25906) · e662d1e0
      Yang Zhang 提交于
      * Update `paddle.clamp`
      
      rename to `paddle.clip`
      add fast path for dygraph mode
      remove `out`
      rename `input` -> `x`
      update doc sample
      
      * Fix leftover `Variable` wording
      
      * Indent doc with spaces
      
      * Remove `:alias` in docs
      
      * Update `enable_imperative` -> `disable_static`
      
      * Remove `imperative`
      
      also trigger CI
      
      * Update tests for better coverage
      
      * Rebase to fix `cosine_similarity`
      
      * Fix `cosine_similarity` some more
      e662d1e0
    • P
      Release Distribution base class and Normal, Uniform class (#26355) · 644dfd7d
      pangyoki 提交于
      * fixed static module
      
      * solve conflict
      
      * Add Distribution base class, Uniform class and Normal class
      
      * release Distribution class and Normal, Uniform class
      
      * Add Doc args explaination
      
      * save distributions.py and process in distribution.py
      
      * delete useless function in test_distribution
      
      * Add NormalNumpy test class
      
      * Add probs in NormalNumpy
      
      * add distribution to paddle init
      
      * Add Distribution base class and name attribute unittest
      
      * Change Doc
      
      * Change Doc
      
      * adjust format
      
      * Fixed Doc Code
      
      * implement probs and change Variable to Tensor
      
      * Add name for all functions and add name unittest
      
      * support int datatype
      
      * Add dynamic mode
      
      * optimize test_distribution static and dygraph
      644dfd7d