1. 27 4月, 2021 1 次提交
    • Z
      update 2.0 public api in nn (#31912) · 3b81f2b8
      zhiboniu 提交于
      * update 2.0 public api in nn
      
      * replace Chinese character cause error in ci;synchronization with pr:#32588 to avoid 'ascii' codec in python2
      
      * numbers used in paddle.nn.functional.norm but not imported
      3b81f2b8
  2. 25 4月, 2021 1 次提交
  3. 22 4月, 2021 1 次提交
  4. 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
  5. 30 12月, 2020 1 次提交
  6. 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
  7. 25 11月, 2020 1 次提交
  8. 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
  9. 17 11月, 2020 1 次提交
  10. 04 11月, 2020 1 次提交
  11. 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
  12. 12 10月, 2020 2 次提交
  13. 11 10月, 2020 1 次提交
  14. 10 10月, 2020 1 次提交
  15. 14 9月, 2020 1 次提交
  16. 28 8月, 2020 1 次提交
  17. 27 8月, 2020 1 次提交
  18. 26 8月, 2020 1 次提交
  19. 24 8月, 2020 1 次提交
  20. 22 8月, 2020 4 次提交
  21. 21 8月, 2020 1 次提交
  22. 20 8月, 2020 1 次提交
  23. 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
  24. 18 8月, 2020 1 次提交
  25. 17 8月, 2020 1 次提交
  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
  27. 14 8月, 2020 1 次提交
  28. 11 8月, 2020 2 次提交
  29. 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
  30. 14 5月, 2020 1 次提交
  31. 26 4月, 2020 1 次提交
  32. 15 4月, 2020 1 次提交
  33. 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
  34. 12 4月, 2020 1 次提交
  35. 11 4月, 2020 1 次提交