1. 01 12月, 2020 1 次提交
  2. 26 11月, 2020 1 次提交
    • C
      Add static_only decorator for static apis (#29015) · d0129fcd
      Chen Weihang 提交于
      * add static_only for static api
      
      * addd static_only for class init
      
      * remove static_only for default_main_program
      
      * remove creater_parameter & startup_program
      
      * remove failed apis
      
      * revert py_func import
      
      * remove global scope
      
      * remove some api
      
      * remove cuda pinned place
      d0129fcd
  3. 24 11月, 2020 1 次提交
    • L
      Upgrade string literals to raw string (#28989) · 3815d7aa
      Leo Chen 提交于
      * upgrade comment string to raw string
      
      * fix string in
      
      * fix string with ' '
      
      * revert update on comments
      
      * upgrade only necessary
      
      * fix sample code checker
      
      * fix comments with '''
      3815d7aa
  4. 23 11月, 2020 3 次提交
  5. 20 11月, 2020 1 次提交
  6. 28 10月, 2020 1 次提交
  7. 26 10月, 2020 2 次提交
  8. 16 10月, 2020 1 次提交
  9. 15 10月, 2020 1 次提交
  10. 14 10月, 2020 3 次提交
    • 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 Error of gpu version paddle when CUDA device is not set properly (#27819) · 6150cc86
      pangyoki 提交于
      * fix gpu version paddle Error when have no CUDA device
      
      * optimize format and add new unittest
      
      * fix coverage problem
      
      * fix unittest format
      
      * change static mode to dygraph mode
      
      * use subprocess in unittest
      6150cc86
    • Y
      b301adc9
  11. 13 10月, 2020 1 次提交
    • L
      Refine the format of printing tensor (#27673) · 049696bf
      Leo Chen 提交于
      * add sumary feature
      
      * refine printting tensor
      
      * add sci_mode
      
      * add sample code
      
      * fix indent error
      
      * fix _format_item
      
      * polish code
      
      * support item indent
      
      * add ut
      
      * set place for ut
      
      * fix py2 issue
      
      * fix ut
      049696bf
  12. 09 10月, 2020 2 次提交
  13. 29 9月, 2020 2 次提交
  14. 28 9月, 2020 4 次提交
  15. 26 9月, 2020 1 次提交
  16. 25 9月, 2020 1 次提交
  17. 09 9月, 2020 1 次提交
  18. 03 9月, 2020 1 次提交
    • C
      Update set_dict method name & add aliases (#26700) · 9cb57f94
      Chen Weihang 提交于
      * update set_dict method name & add aliases
      
      * fix var name error
      
      * fix alias formats
      
      * use set_state_dict in unittest
      
      * add decorator solve compatible problem
      
      * polish decorator
      
      * replace layer set_state_dict by patched method
      
      * remove import monkey path layer
      
      * fix import function error
      
      * add unittest for coverage
      9cb57f94
  19. 28 8月, 2020 1 次提交
  20. 24 8月, 2020 1 次提交
  21. 21 8月, 2020 1 次提交
    • Q
      support Baidu Kunlun AI Accelerator (#25959) · 138ecf24
      QingshuChen 提交于
      * support Baidu AI Accelerator
        * test=kunlun
      
      * minor
       * test=kunlun
      
      * support xpu op in separate file
       * test=kunlun
      
      * update XPU error message and remove duplicated code
      
       * test=kunlun
      
      * minor
       * test=kunlun
      
      * minor
       * test=kunlun
      138ecf24
  22. 16 8月, 2020 1 次提交
  23. 15 8月, 2020 1 次提交
    • Z
      expose and unify the Tensor concepts to the user (#25978) · 6de463d3
      Zhou Wei 提交于
      * expose and unify the Tensor concepts to the user
      
      * expose tensor to user
      
      * add copy place for Tensor
      
      * add copy place for Tensor
      
      * add note
      
      * add macro PADDLE_WITH_CUDA
      
      * remove RUN_TYPE=DIST
      
      * fix some error
      6de463d3
  24. 11 8月, 2020 1 次提交
    • P
      Paddle-2.0 API directory migration (#25898) · 2efcb481
      pangyoki 提交于
      * Directory migration, test=develop
      
      * Change imperative from paddle init to paddle framework, test=develop
      
      * Fixed jit bug, test=develop
      
      * default static mode, test=develop
      
      * fixed format and create parameter belongs to framework, test=develop
      
      * Fixed import package, test=develop
      
      * fix __init__ format, test=develop
      
      * fixed alias problem
      
      * fixed paddle.enable_imperative problems, test=develop
      
      * Add unittest
      
      * delete install_check comment
      
      * Fixed unittest timeout
      
      * fixed unittest error
      
      * move Program default_xx_program to static package
      
      * optimize unittest method
      
      * fixed framework __init__ format
      
      * fixed jit path
      
      * delete alias
      
      * move jit to paddle
      
      * Fixed unittest format
      
      * fixed paddle.default_main_program
      
      * Fixed save load API in paddle __init__.py
      
      * fixed ci paddle.imperative.to_variable
      2efcb481
  25. 08 8月, 2020 1 次提交
  26. 04 8月, 2020 1 次提交
  27. 30 7月, 2020 2 次提交
  28. 28 7月, 2020 1 次提交
    • D
      add more settings for distributed strategy (#25685) · 920d998f
      Dong Daxiang 提交于
      * add more settings for distributed strategy
      Basically, DistributedStrategy has several parts of configurations:
      - BuildStrategy: the same as paddle.fluid.BuildStrategy, but the distributed arguments are moved out of BuildStrategy
      - ExecutionStrategy: the same as paddle.fluid.ExecutionStrategy
      - collective communication configs: nccl_comm_num, hierarchical allreduce and so on
      - distributed algorithms: async_update(mainly used in PS), lars, lamb and so on
      920d998f
  29. 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