1. 30 4月, 2021 1 次提交
    • P
      Add 12 inplace APIs including auto generated (#32573) (#32699) · 097d5f52
      pangyoki 提交于
      * add relu6_ hardsigmoid_ leaky_relu_ Inplace APIs
      
      * add softmax_with_cross_entropy_ Inplace API
      
      * add clip_ scale_ add_ subtract_ Inplace APIs
      
      * add wlist
      
      * fix parameter of scale api
      
      * add add_n_ Inplace API and remove log_ Inplace API
      
      * fix elementwise_add_ and elementwise_sub_ broadcast problem
      
      * elementwise inplace api give error message before run the op
      
      * use broadcast_shape in elementwise inplace op
      
      * add 8 inplace apis that is auto generated
      
      * add unittest for all inplace apis
      
      * add decorator for inplace apis in static mode
      
      * fix windows blas fail of exp inplace api, change array_equal to allclose
      
      * add flatten inplace api
      
      * add flatten unittest
      
      * fix flatten unittest
      
      * add decorator
      
      * fix grad.numpy in test_pylayer_op
      
      * unsupport softmax_with_cross_entropy_
      
      * add test_inplace_softmax_with_cross_entropy to static_mode_white_list
      
      * delete __all__ in inplace_utils
      
      * delete activation inplace function and add Tensor.inplace_func
      
      * change paddle.inplace_ to Tensor.inplace_
      
      * fix little problem
      
      * add paddle in inplace_utils
      097d5f52
  2. 29 4月, 2021 1 次提交
  3. 28 4月, 2021 1 次提交
  4. 25 4月, 2021 1 次提交
  5. 22 4月, 2021 1 次提交
  6. 15 1月, 2021 1 次提交
    • P
      Add Inplace strategy (Output reuse Input Varbase) in dygraph (#30103) · 13d75736
      pangyoki 提交于
      * add view strategy on squeeze,unsqueeze,reshape,flatten
      
      * add squeeze unittest
      
      * add unittests
      
      * use View strategy as name rather than Reuse Allacation
      
      * fix view api doc
      
      * fix format
      
      * use core.ops when input of reshape2 is Tensor
      
      * fix test_cross_entropy_loss error because of reshape2
      
      * fix test_cross_entropy_loss error because of reshape2
      
      * add inplace strategy
      
      * add elementwise_add sub
      
      * let backward op not use inplace
      
      * grad op do not use inplace
      
      * fix memory increase error and add leaf error message
      
      * delete selected_rows
      
      * change op_function
      
      * little change
      
      * solve HandleViewBetweenInputAndOutput
      
      * add unittest and leaf error message
      
      * merge view error
      
      * optimize op_function_generator format and support sum inplace op
      
      * fix format of basic_engine
      
      * fix format for framework
      
      * little change of variable wrapper
      
      * add reshape, squeeze, unsqueeze, scatter api
      
      * add relu elu tanh softmax inplace api
      
      * fix test_squeeze_op unittest
      
      * fix test_relu_op unittest
      
      * fix comment problems
      
      * delete sample code of inplace api
      
      * add reference of grad_pending_nodes in basic_engine
      
      * fix unittest name
      
      * add inplace apis into wlist
      
      * fix error message
      
      * add PADDLE_ENFORCE for set grad op twice
      
      * fix head file error
      13d75736
  7. 30 12月, 2020 1 次提交
  8. 28 12月, 2020 1 次提交
    • X
      clean redundant API alias in 2.0 - part 1 (#29928) · 726c78f2
      XiaoguangHu 提交于
      * rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py
      
      * Revert "rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py"
      
      This reverts commit 179ba8c2b22bc31fe8d8a126e31820792cbd0f4e.
      
      * delete paddle.metric.chunk_eval and paddle.metric.mean_iou
      
      * delete paddle.nn.clip and paddle.nn.clip_by_norm
      
      * delete paddle.nn.functional.activation.hard_sigmoid and paddle.nn.functional.activation.hard_swish
      
      * delete paddle.nn.Pool2D, paddle.nn.BilinearTensorProduct, paddle.nn.RowConv, paddle.nn.functional.row_conv
      
      * fix extension import error
      
      * fix unittest for row_conv and Pool2D
      726c78f2
  9. 25 11月, 2020 1 次提交
  10. 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
  11. 17 11月, 2020 1 次提交
  12. 04 11月, 2020 1 次提交
  13. 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
  14. 12 10月, 2020 2 次提交
  15. 11 10月, 2020 1 次提交
  16. 10 10月, 2020 1 次提交
  17. 14 9月, 2020 1 次提交
  18. 28 8月, 2020 1 次提交
  19. 27 8月, 2020 1 次提交
  20. 26 8月, 2020 1 次提交
  21. 24 8月, 2020 1 次提交
  22. 22 8月, 2020 4 次提交
  23. 21 8月, 2020 1 次提交
  24. 20 8月, 2020 1 次提交
  25. 19 8月, 2020 1 次提交
    • Q
      elu gelu relu logsigmoid, test=develop (#26304) · 61800f4a
      Qi Li 提交于
      * logsigmoid and LogSigmoid, test=develop
      
      * add elu gelu relu, test=develop
      
      * update to_variable to to_tensor, test=develop
      
      * address review comments, test=develop
      
      * address review comments, test=develop
      
      * change to_variable to to_tensor in test, test=develop
      61800f4a
  26. 18 8月, 2020 1 次提交
  27. 17 8月, 2020 1 次提交
  28. 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
  29. 14 8月, 2020 1 次提交
  30. 11 8月, 2020 2 次提交
  31. 15 5月, 2020 1 次提交
    • 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
  32. 14 5月, 2020 1 次提交
  33. 26 4月, 2020 1 次提交
  34. 15 4月, 2020 1 次提交
  35. 14 4月, 2020 1 次提交
    • F
      Add row_conv and hsigmoid into paddle.nn(functional and layer) (#23517) · 600cb8c8
      Feiyu Chan 提交于
      * add approximation for gelu, test=develop
      
      * add functional conv
      
      * add test and doc for function convs, test=develop
      
      * update ConvTransposeOp's InferShape and error message, test=develop
      
      * add hsigmoid, row_conv in paddle.nn(functional and layer), test=develop
      
      * fix hyperlinks in docstring
      600cb8c8