1. 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
  2. 11 10月, 2020 1 次提交
  3. 30 9月, 2020 1 次提交
  4. 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
  5. 28 9月, 2020 1 次提交
  6. 27 9月, 2020 2 次提交
  7. 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
  8. 21 9月, 2020 1 次提交
  9. 17 9月, 2020 1 次提交
  10. 16 9月, 2020 1 次提交
  11. 11 9月, 2020 1 次提交
  12. 04 9月, 2020 1 次提交
  13. 03 9月, 2020 2 次提交
  14. 02 9月, 2020 1 次提交
  15. 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
  16. 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
  17. 27 8月, 2020 1 次提交
  18. 24 8月, 2020 1 次提交
  19. 23 8月, 2020 1 次提交
  20. 22 8月, 2020 1 次提交
  21. 21 8月, 2020 7 次提交
    • 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
    • W
      bdb80550
  22. 20 8月, 2020 1 次提交
  23. 19 8月, 2020 1 次提交
  24. 18 8月, 2020 2 次提交
  25. 16 8月, 2020 2 次提交
  26. 15 8月, 2020 1 次提交
    • Z
      expose and unify the Tensor concepts to the user (#25978) · 6de463d3
      Zhou Wei 提交于
      * expose and unify the Tensor concepts to the user
      
      * expose tensor to user
      
      * add copy place for Tensor
      
      * add copy place for Tensor
      
      * add note
      
      * add macro PADDLE_WITH_CUDA
      
      * remove RUN_TYPE=DIST
      
      * fix some error
      6de463d3