1. 16 10月, 2020 1 次提交
  2. 14 10月, 2020 2 次提交
    • 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
    • L
      [API 2.0: doc] fix doc of linspace cast assign addcmul (#27897) · 72efd830
      liuyuhui 提交于
      * update assign/cast/linspace/addcmul op doc for 2.0 api,test=document_fix
      
      * fix bug about cast doc for 2.0 api,test=document_fix
      72efd830
  3. 13 10月, 2020 2 次提交
    • S
      Update api 2.0 for some ops · 92b3a717
      Steffy-zxf 提交于
      * 1. remove paddle.unique_with_counts api, which counts as unique api
      2. add paddle.math.increment(x, value=1.0, name=None) api
      3. replace paddle.sums with paddle.add_n api
      4. update paddle.metric.accuracy api (add name parameter)
      92b3a717
    • S
      Update code examples for api2.0 · 9215ad96
      Steffy-zxf 提交于
      Update code examples for api2.0 
      9215ad96
  4. 12 10月, 2020 1 次提交
  5. 10 10月, 2020 1 次提交
  6. 09 10月, 2020 1 次提交
  7. 29 9月, 2020 2 次提交
  8. 27 9月, 2020 1 次提交
  9. 10 9月, 2020 2 次提交
  10. 05 9月, 2020 1 次提交
  11. 04 9月, 2020 2 次提交
  12. 03 9月, 2020 1 次提交
  13. 31 8月, 2020 1 次提交
  14. 28 8月, 2020 1 次提交
    • Y
      Fix clip input check (#26683) · 63eef763
      Yang Zhang 提交于
      * Fix clip input check
      
      * Fix default min/max value
      
      * Allow both max and min to be None
      
      * Register op change
      
      * Revert OP signature change
      63eef763
  15. 27 8月, 2020 1 次提交
  16. 26 8月, 2020 1 次提交
  17. 25 8月, 2020 1 次提交
  18. 24 8月, 2020 3 次提交
  19. 23 8月, 2020 1 次提交
  20. 22 8月, 2020 2 次提交
  21. 21 8月, 2020 1 次提交
    • 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
  22. 20 8月, 2020 1 次提交
  23. 19 8月, 2020 1 次提交
  24. 17 8月, 2020 1 次提交
    • Y
      Update `paddle.add` (#25910) · d063a98b
      Yang Zhang 提交于
      * Update `paddle.add`
      
      remove `alpha`
      update doc sample code
      remove `:alias` etc
      
      * Remove `imperative` reference from docstring
      d063a98b
  25. 13 8月, 2020 2 次提交
  26. 12 8月, 2020 2 次提交
  27. 11 8月, 2020 2 次提交
    • L
      add deprecated decorator, remove alias for cumsum op (#26104) · b6d14d9d
      LutaoChu 提交于
      add deprecated decorator, remove alias for cumsum op
      b6d14d9d
    • 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
  28. 10 8月, 2020 1 次提交
  29. 08 8月, 2020 1 次提交
    • F
      update document template for unary elementwise layers (#25896) · e853ece0
      Feiyu Chan 提交于
      1. update document template for unary elementwise layers(a.k.a. activation layer);
      2. remove generate_op_noattr and use generate_activation instead; remove redundant function copies;
      3. minor update for docstring to fix rst format errors.
      4. fix doc for Rsqrt OP
      5. add sample code for each activation separately;
      6. remove the unused deprecated decorator.
      e853ece0