1. 30 4月, 2021 1 次提交
    • P
      Add 12 inplace APIs including auto generated (#32573) (#32699) · 097d5f52
      pangyoki 提交于
      * add relu6_ hardsigmoid_ leaky_relu_ Inplace APIs
      
      * add softmax_with_cross_entropy_ Inplace API
      
      * add clip_ scale_ add_ subtract_ Inplace APIs
      
      * add wlist
      
      * fix parameter of scale api
      
      * add add_n_ Inplace API and remove log_ Inplace API
      
      * fix elementwise_add_ and elementwise_sub_ broadcast problem
      
      * elementwise inplace api give error message before run the op
      
      * use broadcast_shape in elementwise inplace op
      
      * add 8 inplace apis that is auto generated
      
      * add unittest for all inplace apis
      
      * add decorator for inplace apis in static mode
      
      * fix windows blas fail of exp inplace api, change array_equal to allclose
      
      * add flatten inplace api
      
      * add flatten unittest
      
      * fix flatten unittest
      
      * add decorator
      
      * fix grad.numpy in test_pylayer_op
      
      * unsupport softmax_with_cross_entropy_
      
      * add test_inplace_softmax_with_cross_entropy to static_mode_white_list
      
      * delete __all__ in inplace_utils
      
      * delete activation inplace function and add Tensor.inplace_func
      
      * change paddle.inplace_ to Tensor.inplace_
      
      * fix little problem
      
      * add paddle in inplace_utils
      097d5f52
  2. 02 3月, 2021 1 次提交
  3. 15 1月, 2021 1 次提交
    • P
      Add Inplace strategy (Output reuse Input Varbase) in dygraph (#30103) · 13d75736
      pangyoki 提交于
      * add view strategy on squeeze,unsqueeze,reshape,flatten
      
      * add squeeze unittest
      
      * add unittests
      
      * use View strategy as name rather than Reuse Allacation
      
      * fix view api doc
      
      * fix format
      
      * use core.ops when input of reshape2 is Tensor
      
      * fix test_cross_entropy_loss error because of reshape2
      
      * fix test_cross_entropy_loss error because of reshape2
      
      * add inplace strategy
      
      * add elementwise_add sub
      
      * let backward op not use inplace
      
      * grad op do not use inplace
      
      * fix memory increase error and add leaf error message
      
      * delete selected_rows
      
      * change op_function
      
      * little change
      
      * solve HandleViewBetweenInputAndOutput
      
      * add unittest and leaf error message
      
      * merge view error
      
      * optimize op_function_generator format and support sum inplace op
      
      * fix format of basic_engine
      
      * fix format for framework
      
      * little change of variable wrapper
      
      * add reshape, squeeze, unsqueeze, scatter api
      
      * add relu elu tanh softmax inplace api
      
      * fix test_squeeze_op unittest
      
      * fix test_relu_op unittest
      
      * fix comment problems
      
      * delete sample code of inplace api
      
      * add reference of grad_pending_nodes in basic_engine
      
      * fix unittest name
      
      * add inplace apis into wlist
      
      * fix error message
      
      * add PADDLE_ENFORCE for set grad op twice
      
      * fix head file error
      13d75736
  4. 16 12月, 2020 1 次提交
  5. 24 11月, 2020 1 次提交
  6. 26 10月, 2020 1 次提交
  7. 19 10月, 2020 1 次提交
  8. 30 9月, 2020 1 次提交
  9. 27 9月, 2020 2 次提交
  10. 25 9月, 2020 1 次提交
  11. 23 9月, 2020 1 次提交
  12. 28 8月, 2020 1 次提交
  13. 27 8月, 2020 1 次提交
    • F
      Add unified RNN APIs (#26588) · f4083010
      Feiyu Chan 提交于
      * Add RNN related apis in paddl.nn
      test=develop
      
      * new rnn api, cell almost done
      
      * add new progresses in rnn APIs for 2.0
      
      * refine rnn APIs and docstrings.
      
      * add unittets
      
      * disable gpu tests when paddle is not compiled with cuda support
      
      * remove unnecessary imports
      
      * fix docstring
      
      * add to no_sample wlist
      
      * backport to python2 to avoid yield from
      
      * add **kwargs, fix typos
      
      * update docstrings for birnn
      
      * rename argument for SimpleRNN and SimpleRNNCell, fix sample code
      
      * add default value for initial_states in fluid.layers.birnn
      Co-authored-by: Nguosheng <guosheng@baidu.com>
      f4083010
  14. 25 8月, 2020 1 次提交
  15. 24 8月, 2020 1 次提交
  16. 21 8月, 2020 1 次提交
  17. 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
  18. 14 5月, 2020 1 次提交
    • G
      Add hapi.text and corresponding unit test. (#24457) · aa02e347
      Guo Sheng 提交于
      * Add hapi.text and corresponding unit test.
      test=develop
      
      * Remove hapi.text apis' reuse parameter args for coverage.
      test=develop
      
      * Fix TransformerCell and TransformerBeamSearchDecoder example codes.
      test=develop
      
      * Fix example codes in hapi.text.
      test=develop
      
      * Add some apis in hapi.text into example code white list.
      test=develop
      
      * Fix example code of DynamicDecode in hapi.text.
      text=develop
      
      * Rename Model.self as model in test_text.py
      test=develop
      aa02e347
  19. 11 5月, 2020 1 次提交
    • Q
      Add a high-level API with traning and inference into Paddle. (#24293) · 43625bda
      qingqing01 提交于
      * Merge hapi into Paddle
      
      Hapi is a high level API for training and inference.
      The main modules include Model, Loss, Metrics, Dataset.
      Also includes common modules and models in NLP and computer vision, such as BERT, ResNet.
      
      These modules are developed by:
      0YuanZhang0, guoshengCS heavengate, LielinJiang, qingqing01, xyzhou-puck huangjun12, wangxiao1021, zhangyang.
      43625bda
  20. 12 3月, 2020 1 次提交
    • C
      Rename dygraph parallel env & add doc (#22925) · 3dfaf44a
      Chen Weihang 提交于
      * add dygraph parallel env doc, test=develop
      
      * polish details, test=develop, test=document_fix
      
      * fix examples error in other apis, test=develop
      
      * fix more example error in other api, test=develop
      
      * add white list for gpu examples, test=develop, test=document_fix
      3dfaf44a
  21. 10 3月, 2020 1 次提交