1. 18 1月, 2021 1 次提交
    • P
      Cherry-pick PR 30103. Add Inplace strategy (Output reuse Input Varbase) in... · 27c2f1ea
      pangyoki 提交于
      Cherry-pick PR 30103. Add Inplace strategy (Output reuse Input Varbase) in dygraph (#30103) (#30496)
      
      * 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
      27c2f1ea
  2. 30 11月, 2020 1 次提交
  3. 19 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. 12 10月, 2020 1 次提交
  7. 11 10月, 2020 1 次提交
  8. 10 10月, 2020 1 次提交
  9. 29 9月, 2020 1 次提交
  10. 27 9月, 2020 1 次提交
  11. 25 9月, 2020 1 次提交
  12. 14 9月, 2020 1 次提交
  13. 27 8月, 2020 1 次提交
  14. 22 8月, 2020 3 次提交
  15. 21 8月, 2020 2 次提交
  16. 20 8月, 2020 1 次提交
  17. 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
  18. 17 8月, 2020 1 次提交
  19. 14 8月, 2020 1 次提交
  20. 03 8月, 2020 1 次提交
    • W
      remove all op with out args (#25570) · 12bed4a9
      WuHaobo 提交于
      * test=develop,test=document_fix, remove the out args
      
      * Revert "test=develop,test=document_fix, remove the out args"
      
      This reverts commit f430799b.
      
      * test=develop,test=document_fix, remove the out args
      
      * remove all  the out args
      
      * remove all  the out args
      
      * test=develop, remove all  the out args
      
      * test=develop, remove all  the out args
      
      * test=develop, remove out args in matmul testcase
      
      * test=develop, fix the bugs of out args testcase in logsumexp
      
      * test=develop, fix the bugs of out args testcase in elementwise_add
      
      * test=develop, fix the bugs of out args testcase in elementwise_div
      
      * test=develop, fix the bugs of out args testcase in activation
      
      * test=develop, fix the bugs of out args testcase in addcmul
      
      * test=develop, fix the bugs of out args
      
      * test=develop, fix the bugs of out args in API example
      
      * test=develop, fix the bugs of out args in kron testcase
      
      * test=develop, fix the bugs of out args in kron testcase
      
      * test=develop, remove out args
      
      * test=develop, remove out args
      
      * test=develop, fix the coverage
      
      * test=develop, polish codestyle
      
      * test=develop, Update math.py
      
      * test=develop, polish codestyle
      
      * test=develop, polish codestyle
      
      * test=develop, polish codestyle
      
      * test=develop, polish codestyle
      
      * test=develop, polish the test_activation_op.py
      
      * test=develop, Update math.py
      
      * test=develop, fix the failed CI
      
      * test=develop, add core.ops
      
      * test=develop, add core.ops change clamp to clip
      
      * test=develop, add core.ops change clamp to clip
      
      * test=develop, write testcase for clamp OP
      12bed4a9
  21. 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
  22. 16 7月, 2020 1 次提交
  23. 15 4月, 2020 1 次提交
  24. 14 4月, 2020 1 次提交
  25. 12 4月, 2020 3 次提交
  26. 11 4月, 2020 1 次提交
  27. 10 4月, 2020 2 次提交
  28. 09 4月, 2020 1 次提交
  29. 05 4月, 2020 1 次提交
  30. 04 4月, 2020 1 次提交
  31. 17 3月, 2020 1 次提交
  32. 08 1月, 2020 1 次提交
    • Z
      all cases use large shape (#22102) · f2f91307
      zhupengyang 提交于
      enhanced ops: acos, asin, brelu, ceil, cos, elu, floor, hard_shrink,
      hard_sigmoid, hard_swish, relu6, round, rsqrt, sin, softshrink,
      cos_sim, cross_entropy, im2squence, kldiv_loss
      f2f91307
  33. 19 12月, 2019 2 次提交