1. 28 6月, 2021 3 次提交
  2. 21 6月, 2021 1 次提交
  3. 15 6月, 2021 1 次提交
  4. 11 6月, 2021 1 次提交
  5. 26 4月, 2021 1 次提交
  6. 15 4月, 2021 1 次提交
    • J
      Update hapi to support AMP (#31417) · fabdb43c
      Jiaqi Liu 提交于
      * make hapi support amp, and add unittest
      
      * make unittest only support GPU
      
      * update parameters for amp in hapi.Model
      
      * update hapi.Model.prepare interface, and update unittest
      
      * fix test_model.py unittest bug
      
      * add grad clear in dygraph
      
      * use_fp16_guard defaults to True, which could avoid nan
      
      * add input check, and add internal doc link to low level api
      
      * update doc, and decrease the sample num of dataset to avoid timeout
      
      * make hapi amp param  support str 'O1' or 'O2'
      
      * resume calling , modify the code of the check part
      
      * upgrade the usage of Fleet API, and disable 'pure_fp16' param
      fabdb43c
  7. 01 12月, 2020 1 次提交
  8. 26 11月, 2020 2 次提交
  9. 23 11月, 2020 2 次提交
  10. 16 11月, 2020 1 次提交
  11. 28 10月, 2020 1 次提交
  12. 22 10月, 2020 1 次提交
    • L
      Update hapi predict interface (#28180) · 68449d19
      LielinJiang 提交于
      * update hapi predict interface
      
      * fix code style
      
      * fix docs
      
      * fix docs
      
      * fix docs
      
      * update docs
      
      * fix codes style
      
      * fix unittest
      
      * fix unittest
      
      * fix coverage
      68449d19
  13. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  14. 19 10月, 2020 1 次提交
  15. 15 10月, 2020 1 次提交
  16. 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
  17. 12 10月, 2020 2 次提交
  18. 30 9月, 2020 1 次提交
    • 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
  19. 25 9月, 2020 1 次提交
  20. 24 9月, 2020 1 次提交
  21. 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
  22. 08 9月, 2020 1 次提交
  23. 04 9月, 2020 1 次提交
  24. 03 9月, 2020 1 次提交
  25. 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
  26. 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
  27. 28 8月, 2020 2 次提交
    • 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
    • D
  28. 25 8月, 2020 1 次提交
    • L
      Update save inference model to support dygraph (#25894) · 761ed17d
      LiuChiachi 提交于
      * update save_inference_model for hapi
      
      * update save_inference_model to support dygraph
      
      * fix comments
      
      * fix comments
      
      * test=develop
      
      * test, test=develop
      
      * fix dim test, test=develop
      
      * test, test=develop
      
      * add test_export_deploy_model_dynamic
      
      * fix unittest for hapi: save_inference_model
      
      * fix code style
      
      * accept review by guoshengCS
      
      * fix coverage rate
      
      * update doc for save_inference_model and copyright
      
      * change test model back to LeNet() in test_export_deploy_model
      
      * copy jit.save, use LeNet() to test export deploy model
      
      * add return value for dygraph, and fix doc error
      
      * corrected the doc writing
      
      * Delete redundant import and correct import order in sample code.
      
      * remove 'fluid' and add prepare() and fit() in sample code
      
      * correct usage of API 2.0 in sample code
      
      * fix sample code bugs
      
      * fix code style bugs
      
      * fix test_model.py bugs
      
      * set for_inference=True
      
      * correct usage for static.InputSpec
      
      * update doc for model.save
      
      * correct usage of API 2.0
      
      * rename param name for model.save
      
      * correct for_inference as training
      761ed17d
  29. 24 8月, 2020 1 次提交
  30. 23 8月, 2020 1 次提交
  31. 20 8月, 2020 1 次提交
  32. 16 8月, 2020 1 次提交
  33. 30 7月, 2020 1 次提交
  34. 24 7月, 2020 1 次提交
    • Q
      Refine Model of high level API (#25559) · b5f8784c
      qingqing01 提交于
      * Refine Model
      
      1. Take the network (instance of Layer) as the input of Model.
      2. Refine set_dict/load_dict of Layer.
      3. Refine Input interface, so update code sample about Input
      b5f8784c