1. 21 8月, 2020 6 次提交
    • 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
  2. 20 8月, 2020 1 次提交
  3. 19 8月, 2020 1 次提交
  4. 18 8月, 2020 2 次提交
  5. 16 8月, 2020 2 次提交
  6. 15 8月, 2020 2 次提交
  7. 14 8月, 2020 1 次提交
    • Y
      Upgrade `no_grad` decorator (#25472) · 617eb67f
      Yang Zhang 提交于
      * Upgrade `no_grad` decorator
      
      test=develop
      
      - match torch decorator usage (i.e., with parenthesis)
      - handle generator functions
      - add `paddle.no_grad` alias
      
      * Switch from `functools` to `decorator`
      
      preserves signature
      
      * Reword decorator usage note
      617eb67f
  8. 13 8月, 2020 2 次提交
  9. 12 8月, 2020 1 次提交
  10. 11 8月, 2020 1 次提交
    • P
      Paddle-2.0 API directory migration (#25898) · 2efcb481
      pangyoki 提交于
      * Directory migration, test=develop
      
      * Change imperative from paddle init to paddle framework, test=develop
      
      * Fixed jit bug, test=develop
      
      * default static mode, test=develop
      
      * fixed format and create parameter belongs to framework, test=develop
      
      * Fixed import package, test=develop
      
      * fix __init__ format, test=develop
      
      * fixed alias problem
      
      * fixed paddle.enable_imperative problems, test=develop
      
      * Add unittest
      
      * delete install_check comment
      
      * Fixed unittest timeout
      
      * fixed unittest error
      
      * move Program default_xx_program to static package
      
      * optimize unittest method
      
      * fixed framework __init__ format
      
      * fixed jit path
      
      * delete alias
      
      * move jit to paddle
      
      * Fixed unittest format
      
      * fixed paddle.default_main_program
      
      * Fixed save load API in paddle __init__.py
      
      * fixed ci paddle.imperative.to_variable
      2efcb481
  11. 30 7月, 2020 1 次提交
  12. 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
  13. 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
  14. 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
  15. 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
  16. 06 7月, 2020 1 次提交
  17. 02 6月, 2020 1 次提交
  18. 15 5月, 2020 2 次提交
    • X
      [for 2.0-alpha] add alias in paddle.nn and paddle.tensor test=develop (#24561) · 217ca776
      XiaoguangHu 提交于
      * add alias in paddle.nn and paddle.tensor test=develop
      
      * add alias in paddle.nn and paddle.tensor dir test=develop
      
      * fix same conflict manually test=develop
      
      * update fc and dygraph alias test=develop
      
      * fix initalizer.py typo test=develop
      217ca776
    • H
      Api move 20a (#24559) · 2b6d0049
      hong 提交于
      * add base name alias; test=develop
      
      * fix embedding bug; test=develop
      
      * fix io error; test=develop
      
      * add metric; test=develop
      
      * add import palce; test=develop
      
      * add setup; test=develop
      
      * fix incubate reader; test=develop
      
      * fix initializer error; test=develop
      2b6d0049
  19. 11 5月, 2020 1 次提交
    • Q
      Add a high-level API with traning and inference into Paddle. (#24293) · 43625bda
      qingqing01 提交于
      * Merge hapi into Paddle
      
      Hapi is a high level API for training and inference.
      The main modules include Model, Loss, Metrics, Dataset.
      Also includes common modules and models in NLP and computer vision, such as BERT, ResNet.
      
      These modules are developed by:
      0YuanZhang0, guoshengCS heavengate, LielinJiang, qingqing01, xyzhou-puck huangjun12, wangxiao1021, zhangyang.
      43625bda
  20. 09 5月, 2020 1 次提交
    • Z
      copy dygraph api to paddle.imperative (#24085) · a851b97a
      zhongpu 提交于
      * copy dygraph api to paddle.imperative, test=develop
      
      * polish the code, test=develop
      
      * polish code, test=develop
      
      * polish code, test=develop
      
      * move paddle.imperative.Layer to paddle.nn.Layer, test=develop
      a851b97a
  21. 08 5月, 2020 1 次提交
  22. 30 4月, 2020 2 次提交
  23. 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
  24. 26 4月, 2020 1 次提交
  25. 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
  26. 24 4月, 2020 1 次提交
    • G
      Add cholesky_op (#23543) · a8c0fb4e
      Guo Sheng 提交于
      * Add cholesky_op forward part. test=develop
      
      * Complete cholesky_op forward part. test=develop
      
      * Add cholesky_op backward part. test=develop
      
      * Complete cholesky_op backward part. test=develop
      
      * Refine cholesky_op error check and docs. test=develop
      
      * Add grad_check unit test for cholesky_op. test=develop
      
      * Fix sample code in cholesky doc. test=develop
      
      * Refine some error messages of cholesky_op. test=develop
      
      * Refine some error messages of cholesky_op. test=develop
      
      * Remove unused input in cholesky_grad. test=develop
      
      * Remove unused input in cholesky_grad. test=develop
      
      * Fix stream for cusolverDnSetStream. test=develop
      
      * Update PADDLE_ENFORCE_CUDA_SUCCESS from cholesky_op to adapt to latest code.
      test=develop
      
      * Add CUSOLVER ERROR in enforce.h
      test=develop
      
      * Fix the missing return value in cholesky. test=develop
      a8c0fb4e
  27. 23 4月, 2020 2 次提交
    • Y
      Init complex number neural network (#24018) · 720d1899
      Yibing Liu 提交于
      * Init complex number neural network, test=develop
      
      * Improve doc writing, test=develop
      
      * Fix elementwise add & sub, test=develop
      
      * Fix elementwise mul act, test=develop
      
      * a) add ut for complex variable; b) remove arg act in elementwise_ops. test=develop
      720d1899
    • 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