1. 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
      Support setting xpu place in dygraph mode (#27909) · 9a2a4b5f
      Leo Chen 提交于
      * support setting xpu place
      
      * add ut, test=kunlun
      9a2a4b5f
  2. 13 10月, 2020 2 次提交
  3. 12 10月, 2020 3 次提交
  4. 10 10月, 2020 1 次提交
  5. 30 9月, 2020 1 次提交
  6. 29 9月, 2020 3 次提交
  7. 28 9月, 2020 5 次提交
  8. 27 9月, 2020 1 次提交
    • L
      add support to float64 input of warpctc op. (#27399) · 1501a80f
      Li Fuchen 提交于
      * add float64 input to ctc_loss
      
      * modified error message of  warpctc
      
      * update repo and tag of warpctc
      
      * add test for warpctc with float64 input
      
      * modified warpctc.cmake to make sure build always
      
      * resolved sample code bug of warpctc
      
      * add core.ops in warpctc dygraph
      
      * fix a bug of test
      1501a80f
  9. 26 9月, 2020 1 次提交
  10. 23 9月, 2020 1 次提交
  11. 21 9月, 2020 2 次提交
    • L
      [Feature] Enhance inplace addto strategy for gradient accumulation in static graph (#27112) · aba759ba
      Leo Chen 提交于
      * support use add instead of sum to do gradient accumulation
      
      * add inplace addto pass
      
      * add grad_add op and inplace addto pass
      
      * remove debug code
      
      * code refine
      
      * fix bug when sereral sum ops inserts at same op_idx
      
      * fix Flags type
      
      * add addto attribute for conv3d
      
      * fix ut
      
      * code clean
      
      * fix type
      aba759ba
    • H
      Quant op dev (#25932) · 02606d45
      huangxu96 提交于
      * Finished ChannelWiseQuantDequantAbsMaxOp and Passed unittests.
      
      * Finished channel-wise quantize strategy in imperative quantization.
      
      * Added Cuda code of ChannelWiseQuantDequantMaxAbsOP
      Add Cuda code of ChannelWiseQuantDequantMaxAbsOp
      
      * Add quant_axis for channel_wise quant.
      
      * fixed a bug in unnitests, which will not trigger axis = 1 case and cannot meet the coverage rate requirement.
      
      * Added some assert infomation and fixed some coding style mistakes.
      02606d45
  12. 15 9月, 2020 1 次提交
  13. 14 9月, 2020 2 次提交
    • J
      Add bfloat16 passes (#26999) · 1483ea23
      joanna.wozna.intel 提交于
      1483ea23
    • Z
      Update amp_check_finite_and_scale_op and add an updating_loss_scaling op for... · d708b210
      Zhen Wang 提交于
      Update amp_check_finite_and_scale_op and add an updating_loss_scaling op for static graph amp training. (#26240)
      
      * update amp_check_finite_and_scale_op for static_amp.
      
      * use amp_check_finite_and_scale in static graph amp.
      
      * update grads to zero when grads own infinite values(as for amp_checkout_finite_and_scale op).
      
      * add update_loss_scaling op in cpp.
      
      * add update_loss_scaling_op unit test.
      
      * update the doc of the check_finite_and_unscale op
      
      * Update the process of gradients updating skipping if the gradients have infinite values.
      
      * update the way to zero grads.
      
      * update test_update_loss_scaling_op.py
      
      * add log info when find infinite grads.
      
      * add the unit test for UpdateLossScaling Layer.
      d708b210
  14. 08 9月, 2020 1 次提交
  15. 07 9月, 2020 1 次提交
  16. 04 9月, 2020 1 次提交
  17. 03 9月, 2020 1 次提交
  18. 02 9月, 2020 1 次提交
  19. 01 9月, 2020 1 次提交
  20. 31 8月, 2020 2 次提交
  21. 28 8月, 2020 4 次提交
    • W
      refine paddle inference api (#26774) · 68e0560c
      Wilber 提交于
      * refine paddle inference api
      Co-authored-by: Nnhzlx <nhzlx.dragon@gmail.com>
      68e0560c
    • L
      Refine paddle.manual_seed (#26496) · 844583c8
      Leo Chen 提交于
      * refine manual seed
      
      * fix ci problem
      
      * fix unittests
      
      * fix unittest
      
      * set is_init_py=false in manual_seed
      
      * fix unittest
      
      * fix bernoulli_op
      
      * fix(unittest): change random_seed to manual_seed
      
      * 🐞fix(unittest): fix manual_seed
      
      * trigger ci
      
      * fix test_sentiment
      
      * fix test_imperative_save_load
      
      * fix test_uniform_random_op
      
      * fix test_uniform_random_op
      
      * fix test_jit_save_load
      
      * merge develop
      
      * fix manual_seed
      
      * fix manual_seed
      
      * use global engine
      
      * use shared_ptr
      
      * fix double free
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix test bug
      
      * fix test bug
      
      * fix test bug
      
      * fix ci
      844583c8
    • J
      Add mkldnn bfloat16 option to C-API (#26676) · 02083bda
      joanna.wozna.intel 提交于
      * Add mkldnn bfloat16 option to C-API
      
      * Add test for bfloat16 gpu
      
      * Change coverage test
      02083bda
    • Z
      Update the demo code and the doc of varbase.backward. (#26506) · f9066e6a
      Zhen Wang 提交于
      * update the demo code and the doc of varbase.backward.
      
      * update the doc of the fake interface `paddle.fluid.Variable`.
      
      * remove BackwardStrategy.
      f9066e6a
  22. 27 8月, 2020 1 次提交
  23. 25 8月, 2020 2 次提交
    • Z
      improve unique op (#26537) · 0a895bc0
      Zhang Ting 提交于
      * add unique_v2 op
      
      * remove unique_v2 op
      
      * update doc
      0a895bc0
    • W
      optimized transformation form tensor to numpy (#26447) · c1f5df52
      wanghuancoder 提交于
      * optimized transformation form tensor to numpy, test=develop
      
      * optimized transformation form tensor to numpy, pass pre-commit, test=develop
      
      * modify fetchophandle zerocopy to deepcopy in PE&CUP, test=develop
      
      * modify py:array construct, test=develop
      
      * fix _fetch_var to use deep copy, test=develop
      c1f5df52