1. 20 10月, 2020 1 次提交
  2. 17 10月, 2020 1 次提交
    • 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
  3. 14 10月, 2020 2 次提交
    • 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
  4. 12 10月, 2020 2 次提交
  5. 30 9月, 2020 2 次提交
    • L
      Add visualdl callback function (#27565) · a0f1dba3
      LielinJiang 提交于
      * add visualdl callback
      a0f1dba3
    • L
      Remove Input requirement in dygraph for Model (#27557) · d15cbe70
      LiuChiachi 提交于
      * remove input requirment in dygraph Model
      
      * correct unittest
      
      * upadte save inference model in dygraph without input
      
      * fix unittets for test_model.py
      
      * solve conflicts
      
      * solve conflicts
      
      * delete http.log
      
      * fix test_model.py bug, correct initialization of MyModel
      
      * fix unittests bugs
      
      * set paddle manual seed for unittest
      
      * fix Model bugs, because inputs can be list or dict when it is provided.
      
      * add random seed for test_export_deploy_model
      
      * delete redundant codes, because  calls
      
      * Code optimization, error information optimization
      d15cbe70
  6. 25 9月, 2020 1 次提交
  7. 24 9月, 2020 2 次提交
  8. 23 9月, 2020 1 次提交
  9. 22 9月, 2020 1 次提交
    • P
      Use dygraph mode by default (#27443) · 827ac36f
      pangyoki 提交于
      * default open dygraph mode
      
      * fix CI-Mac
      
      * fix Mac-CI other unittest file
      
      * fix CI-Py3
      
      * fix test_communicator_geo and test_buffer_shared_memory_reuse_pass
      
      * add enable_static to fix CI-Py3
      
      * add enable_static to fix CI-coverage
      
      * delete try except
      827ac36f
  10. 21 9月, 2020 1 次提交
  11. 17 9月, 2020 1 次提交
    • L
      Update hapi.model._save_inference_model by using new features of dy2stat in 2.0-beta API (#27272) · 69279207
      LiuChiachi 提交于
      * update model.save_inference_model
      
      * update doc for _save_inference_model, delete useless class in unittests
      
      * make users not be able to set model._inputs be None
      
      * update usage of Model class in unittests
      
      * fix bugs of _verify_spec
      
      * fix bugs of _verify_spec
      
      * add unittest to increase coverage rate
      
      * delete http.log
      
      * update doc for save, remove requirments and limitations for using
      
      * update doc for class Model
      69279207
  12. 16 9月, 2020 1 次提交
  13. 08 9月, 2020 1 次提交
  14. 04 9月, 2020 1 次提交
  15. 03 9月, 2020 1 次提交
  16. 02 9月, 2020 1 次提交
    • L
      Correct 2.0 API usage in hapi.model.load (#26829) · 9ee4e3dc
      LiuChiachi 提交于
      * replace fluid.optimizer.set_dict with optimizer.set_state_dict
      
      * replace fluid.optimizer.set_dict with optimizer.set_state_dict
      
      * add coverage rate
      
      * Increase coverage rate, fix code style
      
      * Increase coverage rate, fix code style
      
      * add fit to generate optimizer.state_dict() to save .pdopt to increase coverage rate
      
      * delete http.log
      9ee4e3dc
  17. 31 8月, 2020 1 次提交
    • Q
      Move hapi to python/paddle root dir. (#26442) · f7fb4c22
      qingqing01 提交于
      * Move hapi form paddle/incubate to paddle
      
      * Remove vision/datasets/utils.py and clean code
      
      * Add sample code for conll05
      
      * Print pull path when saving model
      
      * Fix sample code after paramter_list of SGD is changed to parameters
      
      * Fix bug in wmt16 datase
      f7fb4c22
  18. 24 8月, 2020 1 次提交