1. 26 11月, 2020 1 次提交
  2. 24 11月, 2020 1 次提交
    • L
      Upgrade string literals to raw string (#28989) · 3815d7aa
      Leo Chen 提交于
      * upgrade comment string to raw string
      
      * fix string in
      
      * fix string with ' '
      
      * revert update on comments
      
      * upgrade only necessary
      
      * fix sample code checker
      
      * fix comments with '''
      3815d7aa
  3. 20 11月, 2020 1 次提交
  4. 12 11月, 2020 1 次提交
  5. 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
  6. 29 9月, 2020 1 次提交
  7. 26 9月, 2020 1 次提交
  8. 16 9月, 2020 1 次提交
  9. 11 9月, 2020 1 次提交
  10. 02 9月, 2020 1 次提交
  11. 28 8月, 2020 2 次提交
  12. 24 8月, 2020 1 次提交
  13. 22 8月, 2020 1 次提交
  14. 21 8月, 2020 1 次提交
  15. 16 8月, 2020 1 次提交
  16. 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
  17. 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
  18. 03 7月, 2020 1 次提交
  19. 29 6月, 2020 1 次提交
    • A
      [Dy2stat]Support buffers and register_buffer in Layer (#24888) · 02adf68d
      Aurelius84 提交于
      * support to save varBase created in __init__ test=develop
      
      * polish code test=develop
      
      * refine to_static_var test=develop
      
      * refine warning test=develop
      
      * add unitteset for to_static_var test=develop
      
      * fix logger test=develop
      
      * polish buffers en doc test=develop
      
      * fix param_guard test=develop
      
      * refine en doc test=develop
      02adf68d
  20. 21 5月, 2020 1 次提交
  21. 14 5月, 2020 1 次提交
  22. 08 5月, 2020 2 次提交
  23. 29 4月, 2020 1 次提交
  24. 23 4月, 2020 1 次提交
    • 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
  25. 14 4月, 2020 1 次提交
  26. 10 4月, 2020 1 次提交
  27. 09 4月, 2020 1 次提交
  28. 08 4月, 2020 1 次提交
  29. 27 3月, 2020 1 次提交
    • Z
      Expose dygraph.grad api (#23124) · 8bfd62ff
      Zeng Jinle 提交于
      * expose dygraph.grad api, test=develop, test=document_fix
      
      * add more parameter in dygraph.grad API, test=develop
      
      * add only_inputs=True parameter, test=develop
      
      * follow comments, test=develop, test=document_fix
      
      * fix typo, test=develop, test=document_fix
      8bfd62ff
  30. 25 3月, 2020 1 次提交
  31. 20 3月, 2020 1 次提交
    • Z
      Add dygraph double grad implementation (#22939) · a31d7328
      Zeng Jinle 提交于
      * add double grad implementation for dygraph, test=develop
      
      * polish code, add uts, test=develop
      
      * fix place bug, test=develop
      
      * polish codes, add more uts for coverages, test=develop
      
      * add no_grad_set, test=develop
      
      * add star gan ut, test=develop
      
      * follow comments, test=develop
      a31d7328
  32. 03 3月, 2020 1 次提交
    • S
      Add functional dygraph mode api (#22745) · df87e79f
      songyouwei 提交于
      * functional dygraph enable/disable
      test=develop
      
      * use context manager instead
      test=develop
      
      * refine sample code
      test=develop
      
      * rename api & expose to fluid
      test=develop
      
      * fix sample code
      test=develop
      df87e79f
  33. 08 1月, 2020 1 次提交
  34. 27 12月, 2019 2 次提交
    • L
      ba51043f
    • Z
      remove params in Tracer object (in dygraph) (#20815) · dca07583
      zhongpu 提交于
      * remove params in Tracer object, test=develop
      
      * Repair failed optest, test=develop
      
      * remove build_once & name_scope (Conv2D)
      test=develop
      
      * fix unittest
      test=develop
      
      * Conv2DTranspose
      
      * Conv3D & Conv3DTranspose
      test=develop
      
      * Pool2D & BatchNorm
      
      * Embedding
      
      * LayerNorm
      
      * GRUUnit & NCE
      
      * PRelu
      
      * BilinearTensorProduct
      
      * GroupNorm & SpectralNorm
      
      * TreeConv
      test=develop
      
      * fix LayerNorm in transformer unnittest
      test=develop
      
      * disable LayerNorm or BatchNorm in multicard
      test=develop
      
      * refine Layer.create_parameter api
      test=develop
      
      * refine LayerNorm, remove begin_norm_axis param, add normed shape check
      test=develop
      
      * LayerNorm bug fix
      test=develop
      
      * fix optest,test=develop
      
      * fix optest, test=develop
      
      * fix optest for pass parameter_list when constructing an Optimizer class instance, test=develop
      
      * polish code for better code style, test=develop
      
      * fix se_resnext optest, test=develop
      
      * polish code for better code style, test=develop
      Co-authored-by: Nsongyouwei <youwei0314@gmail.com>
      dca07583
  35. 09 12月, 2019 1 次提交
    • L
      Refine VarBase init function (#21587) · 4f81d1bd
      Leo Chen 提交于
      * refine init function, test=develop
      
      * add tests, test=develop
      
      * remove extern, which may cause symbol error in gcc-4.8, test=develop
      4f81d1bd
  36. 05 12月, 2019 1 次提交
    • L
      Split VarBase from Python Variable for Dygraph (#21359) · cdd46d7e
      Leo Chen 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * don't expose numerous Tensor.set(), test=develop
      
      * fix condition, test=develop
      
      * fix float16 bug, test=develop
      
      * feed should be Tensor or np.array, not Variable or number, test=develop
      
      * use forcecast to copy numpy slice to new array, test=develop
      
      * remove float16-uint16 hacking, test=develop
      
      * add variable method to varbase and refactor to_variable to support return varbase
      
      * support kwargs in varbase constructor
      
      * add VarBase constructor to support default python args
      
      * refine varbase initial method
      
      * reset branch
      
      * fix ut for change VarBase error info to PaddleEnforce
      
      * cherry is parameter change before
      
      * overload isinstance to replace too many change of is_variable
      
      * rm useless files
      
      * rm useless code merged by git
      
      * test=develop, fix some ut failed error
      
      * test=develop, fix test_graph_wrapper
      
      * add some tests, test=develop
      
      * refine __getitem__, test=develop
      
      * add tests, test=develop
      
      * fix err_msg, test=develop
      cdd46d7e
  37. 27 11月, 2019 1 次提交
    • Y
      Support numpy bridge (enabled by default in dygraph mode) (#20983) · d5ff79e5
      Youwei Song 提交于
      * add numpy bridge
      
      * fix template compile
      
      * add unittest, add default
      test=develop
      
      * fix unittest
      test=develop
      
      * fix unittest
      test=develop
      
      * zero_copy=True for to_variable,
      test=develop
      
      * bug fix
      test=develop
      
      * disable deprecated NumPy API
      test=develop
      
      * use better design of NumpyAllocator
      test=develop
      
      * fix Py_None check
      test=develop
      
      * reset c++ tracer when jump out dygraph guard
      test=develop
      
      * refine PADDLE_ENFORCE_xx format
      test=develop
      
      * bug fix of tracer switch
      test=develop
      
      * update decref
      test=develop
      d5ff79e5