1. 17 10月, 2020 2 次提交
    • L
      Clean text.py and decode.py for API 2.0 (#26853) (#27958) · 4316bd4d
      LiuChiachi 提交于
      * Make dynamic_decode support dygraph and expose to API 2.0
      test=develop
      
      * update info about BeamSearchDecoder and dynamic_decode
      
      * remove all APIs in paddle.text, expose BeamSearchDecoder and dynamic_decode
      
      * update example code
      
      * delete test_text.py, decode.py, update some doc, fix example code float64
      
      * delete decode import from paddle.nn
      
      * fix unittest bugs
      
      * use dygraph.Embedding instead of nn.Embedding, add paddle.enbale_static()
      
      * update, correct doc
      
      * move dynamic_decode, BeamSearchDecoder API to paddle.nn
      
      * fix code style
      
      * update unittest param, delete import pf text.py
      
      * set dtype of beamsearchtest float64
      
      * update example code of BeamSearchDecoder, dynamic_decode
      Co-authored-by: NLiuChiaChi <709153940@qq.com>
      Co-authored-by: NGuo Sheng <whucsgs@163.com>
      4316bd4d
    • L
      [oneDNN] Conv dilation support (#27914) (#28028) · ea76fe31
      lidanqing 提交于
      * conv dilated mkldnn support: forward and backward pass
      
      * add mkldnn conv_transpose dilation UT
      test=develop
      
      * remove unnecessary PADDLE_ENFORCE
      
      * add int8 and bf16 dilated conv UT
      
      * update according to reviews
      ea76fe31
  2. 16 10月, 2020 6 次提交
  3. 15 10月, 2020 9 次提交
  4. 14 10月, 2020 23 次提交
    • C
      update syncbn docs, test=document_fix (#27948) · 338c7656
      ceci3 提交于
      338c7656
    • G
      Implement the function of OutScaleForTraining/OutScaleForInference in dygraph (#26601) · 6bbb6e7f
      guofei 提交于
      * Implement the function of OueScaleForTraining/OutScaleForInference in dygraph
      
      test=develop
      6bbb6e7f
    • L
      Fix load pretrained model in hapi (#27893) · 0140d74e
      LielinJiang 提交于
      * fix hapi load
      0140d74e
    • 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
    • P
      fix test directory migration (#27885) · 6e5034e2
      pangyoki 提交于
      * fix test directory migration
      
      * change assert to self.assertXXX
      6e5034e2
    • L
      Support setting xpu place in dygraph mode (#27909) · 9a2a4b5f
      Leo Chen 提交于
      * support setting xpu place
      
      * add ut, test=kunlun
      9a2a4b5f
    • C
      del the DEFINE_ALIAS of sigmoid_cross_entropy_with_logits (#27883) · 35734138
      chajchaj 提交于
      * del the DEFINE_ALIAS of sigmoid_cross_entropy_with_logits
      
      * del sigmoid_cross_entropy_with_logits in python/paddle/nn/functional/loss.py, test=develop
      
      * call paddle.fluid.layers.sigmoid_cross_entropy_with_logits in bce_with_logits_loss, test=develop
      35734138
    • M
      Fix adam (#27778) · 263a9e97
      MRXLT 提交于
      * fix adam
      
      * fix gpu adam
      
      * fix code style
      
      * fix ut
      
      * update ut add cuda code
      263a9e97
    • D
      kunlun add op (#27890) · b0edda4d
      Double_V 提交于
      * add stack pool2d roi_align xpu op,test=kunlun
      
      * error message opt, test=kunlun
      
      * add xpu unittest,test=kunlun
      
      * skip check grad,test=kunlun
      
      * fix boostget , test=kunlun
      b0edda4d
    • Z
      fix test_group_norm, test=develop (#27929) · 82eb486e
      zhang wenhui 提交于
      82eb486e
    • Q
      Remove paddle.metric.auc in 2.0 API (#27851) · 766b3515
      qingqing01 提交于
      766b3515
    • W
      fix the dataset remove bug for the dataset · ff8922f9
      wawltor 提交于
      fix the dataset remove bug for the dataset 
      ff8922f9
    • J
      Add elementwise XPU OP kernel for KUNLUN core, including (but still cannot process common broadcast · c791df09
      Jack Zhou 提交于
      Add elementwise XPU OP kernel for KUNLUN core, including (but still cannot process common broadcast
      c791df09
    • L
      Refine tensor to_string (#27925) · ae6ad23c
      Leo Chen 提交于
      * refine to_string
      
      * re-enable ut
      ae6ad23c
    • R
      [API2.0]remove image_resize series api in Paddle2.0 (#27886) · 8b307042
      ruri 提交于
      * remove image_resize series api in Paddle2.0
      8b307042
    • W
      xpu support for fill_constant Op (#27675) · c5fcc96d
      wangchaochaohu 提交于
      c5fcc96d
    • 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
    • Z
      Update example codes of ConstantInitializer & MSRAInitializer (#27915) · b3cfb021
      zhulei 提交于
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of constant in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
      
      * test=document_fix
      
      * test=document_fix
      b3cfb021
    • C
      【paddle.fleet】fix sparse load (#27680) · 328cb289
      Chengmo 提交于
      * add sparse tensor load method
      328cb289
    • F
      add paddle.nn.initializer API, including: Normal, TruncatedNormal, Uniform,... · 8e70b18e
      furnace 提交于
      add paddle.nn.initializer API, including: Normal, TruncatedNormal, Uniform, XavierNormal, XavierUniform, Assign (#27769)
      
      8e70b18e
    • 1
      【paddle.fleet】bug fix for parameter_recv (#27838) · a4f85074
      123malin 提交于
      * test=develop, bug fix for parameter_recv
      * test=develop, for unittest, test_fleet_rolemaker_new
      a4f85074
    • M
      add dygraph code for unstack (#27881) · b19b01af
      MRXLT 提交于
      b19b01af
    • Q
      support kunlun matmul_v2 (#27910) · 2712d076
      QingshuChen 提交于
      *test=kunlun
      2712d076