1. 16 1月, 2020 1 次提交
  2. 09 1月, 2020 4 次提交
    • S
      named_sublayers and named_parameters (#21868) · 83037e55
      songyouwei 提交于
      * use snake_cased Layer name
      
      * add named_parameters and named_sublayers api
      
      * add include_sublayers param, add unittest
      test=develop
      
      * fix named unittests
      test=develop
      
      * fix unittest
      test=develop
      
      * add api docs
      test=develop
      
      * arg fix
      test=develop
      
      * reserve rnn_impl name_scope for static graph
      test=develop
      
      * fix load static param
      test=develop
      
      * fix load static param
      test=develop
      83037e55
    • Z
      add clear_gradients for Optimizer and add clear_gradients api description (#21948) · 7d10edc5
      zhongpu 提交于
      * add clear_gradients for Optimizer, add api description, test=develop
      
      * fix optest for optimizer's clear_gradient interface, test=develop
      
      * add sample code, test=develop
      
      * polish sample code, test=develop
      7d10edc5
    • L
      update layers used in transformer dygraph model, test=develop (#22051) · 51cb918a
      Leo Chen 提交于
      * update layers, test=develop
      
      * update layers for resnet, test=develop
      
      * fix is_test attr, test=develop
      
      * update cycle_gan, test=develop
      
      * update reinforcement_learning, test=develop
      
      * update ocr, test=develop
      
      * fix bug, test=develop
      51cb918a
    • S
      update PRelu arg (#21946) · 1ae3f47f
      songyouwei 提交于
      * update PRelu arg
      test=develop
      
      * fix unittests
      test=develop
      
      * fix element mode alpha shape
      test=develop
      
      * split channel_or_input_shape arg
      test=develop
      
      * fix unittest
      test=develop
      1ae3f47f
  3. 08 1月, 2020 2 次提交
  4. 07 1月, 2020 1 次提交
    • H
      Support dygraph structuerd name (#21930) · 2f49cf70
      hong 提交于
      * support dygraph structured name; test=develop
      
      * add load static param unitest and fix save load; test=develop
      
      * fix varBase import error; test=develop
      
      * fix unitest error; test=develop
      
      * add comment for parameter; test=develop
      
      * fix uni test error; test=develop
      
      * change parallel se-resnet; test=develop
      
      * fix dygraph se resnext parallel test; test=develop
      
      * remove useless code; test=develop
      
      * remove useless code; test=develop
      2f49cf70
  5. 06 1月, 2020 1 次提交
  6. 02 1月, 2020 1 次提交
    • S
      move private weight fields to public ones (#21982) · 56414c7d
      songyouwei 提交于
      * move private weight properties to public ones
      test=develop
      
      * revert changes to FC
      test=develop
      
      * fix unittest
      test=develop
      
      * fix unittest
      test=develop
      
      * fix coverage
      test=develop
      
      * fix merged dev
      test=develop
      
      * bug fix
      test=develop
      56414c7d
  7. 31 12月, 2019 2 次提交
  8. 27 12月, 2019 2 次提交
    • L
      ba51043f
    • Z
      remove params in Tracer object (in dygraph) (#20815) · dca07583
      zhongpu 提交于
      * remove params in Tracer object, test=develop
      
      * Repair failed optest, test=develop
      
      * remove build_once & name_scope (Conv2D)
      test=develop
      
      * fix unittest
      test=develop
      
      * Conv2DTranspose
      
      * Conv3D & Conv3DTranspose
      test=develop
      
      * Pool2D & BatchNorm
      
      * Embedding
      
      * LayerNorm
      
      * GRUUnit & NCE
      
      * PRelu
      
      * BilinearTensorProduct
      
      * GroupNorm & SpectralNorm
      
      * TreeConv
      test=develop
      
      * fix LayerNorm in transformer unnittest
      test=develop
      
      * disable LayerNorm or BatchNorm in multicard
      test=develop
      
      * refine Layer.create_parameter api
      test=develop
      
      * refine LayerNorm, remove begin_norm_axis param, add normed shape check
      test=develop
      
      * LayerNorm bug fix
      test=develop
      
      * fix optest,test=develop
      
      * fix optest, test=develop
      
      * fix optest for pass parameter_list when constructing an Optimizer class instance, test=develop
      
      * polish code for better code style, test=develop
      
      * fix se_resnext optest, test=develop
      
      * polish code for better code style, test=develop
      Co-authored-by: Nsongyouwei <youwei0314@gmail.com>
      dca07583
  9. 25 12月, 2019 1 次提交
    • S
      Add ParameterList (#21056) · cff7a498
      songyouwei 提交于
      * add ParameterList container
      
      * add unittest
      test=develop
      
      * fix container, rebase remove build_once
      test=develop
      
      * add parameters None check
      test=develop
      
      * update Sequential unittest
      test=develop
      
      * use Linear in Sequential sample code
      test=develop
      
      * fix Sequential arg type doc
      test=develop
      cff7a498
  10. 24 12月, 2019 1 次提交
  11. 19 12月, 2019 2 次提交
  12. 18 12月, 2019 2 次提交
  13. 17 12月, 2019 1 次提交
    • Y
      remove build_once & name_scope (#21131) · f6144d84
      Youwei Song 提交于
      * remove build_once & name_scope (Conv2D)
      test=develop
      
      * fix unittest
      test=develop
      
      * Conv2DTranspose
      
      * Conv3D & Conv3DTranspose
      test=develop
      
      * Pool2D & BatchNorm
      
      * Embedding
      
      * LayerNorm
      
      * GRUUnit & NCE
      
      * PRelu
      
      * BilinearTensorProduct
      
      * GroupNorm & SpectralNorm
      
      * TreeConv
      test=develop
      
      * fix LayerNorm in transformer unnittest
      test=develop
      
      * disable LayerNorm or BatchNorm in multicard
      test=develop
      
      * refine Layer.create_parameter api
      test=develop
      
      * refine LayerNorm, remove begin_norm_axis param, add normed shape check
      test=develop
      
      * LayerNorm bug fix
      test=develop
      f6144d84
  14. 16 12月, 2019 1 次提交
  15. 09 12月, 2019 2 次提交
  16. 05 12月, 2019 2 次提交
    • H
      Add dygraph linear warm up decay (#21186) · 08483a68
      hong 提交于
      * dygraph mode support linear lr warm up; test=develop
      
      * add unitest for linear warmup; test=develop
      
      * add input type check; test=develop
      
      * fix type check assert error; test=develop
      
      * change type error; test=develop
      08483a68
    • L
      Split VarBase from Python Variable for Dygraph (#21359) · cdd46d7e
      Leo Chen 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * don't expose numerous Tensor.set(), test=develop
      
      * fix condition, test=develop
      
      * fix float16 bug, test=develop
      
      * feed should be Tensor or np.array, not Variable or number, test=develop
      
      * use forcecast to copy numpy slice to new array, test=develop
      
      * remove float16-uint16 hacking, test=develop
      
      * add variable method to varbase and refactor to_variable to support return varbase
      
      * support kwargs in varbase constructor
      
      * add VarBase constructor to support default python args
      
      * refine varbase initial method
      
      * reset branch
      
      * fix ut for change VarBase error info to PaddleEnforce
      
      * cherry is parameter change before
      
      * overload isinstance to replace too many change of is_variable
      
      * rm useless files
      
      * rm useless code merged by git
      
      * test=develop, fix some ut failed error
      
      * test=develop, fix test_graph_wrapper
      
      * add some tests, test=develop
      
      * refine __getitem__, test=develop
      
      * add tests, test=develop
      
      * fix err_msg, test=develop
      cdd46d7e
  17. 04 12月, 2019 1 次提交
  18. 29 11月, 2019 1 次提交
  19. 27 11月, 2019 1 次提交
    • Y
      Support numpy bridge (enabled by default in dygraph mode) (#20983) · d5ff79e5
      Youwei Song 提交于
      * add numpy bridge
      
      * fix template compile
      
      * add unittest, add default
      test=develop
      
      * fix unittest
      test=develop
      
      * fix unittest
      test=develop
      
      * zero_copy=True for to_variable,
      test=develop
      
      * bug fix
      test=develop
      
      * disable deprecated NumPy API
      test=develop
      
      * use better design of NumpyAllocator
      test=develop
      
      * fix Py_None check
      test=develop
      
      * reset c++ tracer when jump out dygraph guard
      test=develop
      
      * refine PADDLE_ENFORCE_xx format
      test=develop
      
      * bug fix of tracer switch
      test=develop
      
      * update decref
      test=develop
      d5ff79e5
  20. 19 11月, 2019 1 次提交
  21. 18 11月, 2019 1 次提交
  22. 14 11月, 2019 1 次提交
  23. 06 11月, 2019 1 次提交
  24. 05 11月, 2019 1 次提交
  25. 01 11月, 2019 1 次提交
    • L
      Update Tensor.set() to support float16 (#19964) · 9974e407
      Leo Chen 提交于
      * don't expose numerous Tensor.set(), test=develop
      
      * fix condition, test=develop
      
      * fix float16 bug, test=develop
      
      * feed should be Tensor or np.array, not Variable or number, test=develop
      
      * use forcecast to copy numpy slice to new array, test=develop
      
      * remove float16-uint16 hacking, test=develop
      9974e407
  26. 29 10月, 2019 1 次提交
  27. 24 10月, 2019 1 次提交
  28. 23 10月, 2019 1 次提交
  29. 12 10月, 2019 2 次提交
    • Y
      fix en docs of Layer and guard (#20512) · 9a09ff14
      Youwei Song 提交于
      * fix en docs of Layer and guard
      test=document_fix, test=develop
      
      * fix en docs of Layer and guard
      test=document_fix, test=develop
      
      * minor fix
      test=document_fix, test=develop
      
      * minor fix
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * fix docs
      test=document_fix, test=develop
      
      * fix docs
      test=document_fix, test=develop
      
      * fix docs
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * add forward doc
      test=document_fix, test=develop
      
      * add "s" for parameters
      test=document_fix, test=develop
      9a09ff14
    • L
      Set batch norm and data norm argument 'do_model_average_for_mean_and_var' default as True (#20421) · faa8e30a
      LielinJiang 提交于
      * fix_norm_model_average_bug
      
      * test=develop
      
      * refine comment test=develop
      
      * refine comment test=develop
      faa8e30a