1. 28 9月, 2019 1 次提交
    • Y
      Dygraph Layer kwargs & param getter setter (#19901) · 54e07994
      Youwei Song 提交于
      * opt FC
      
      * opt rest of dygraph.nn
      
      * new param shape check and unittest
      
      * add kwargs for Layer
      
      * add new set_value api
      
      * use property decorator
      
      * update API.spec, test=develop
      
      * use UserList, separate gettersetters, test=develop
      
      * update test_custom_layer_with_kwargs, test=develop
      
      * fix UserList compatibility, test=develop
      
      * fix UserList compatibility, test=develop
      
      * keep FC._w, test=develop
      
      * add unittests, Conv3D bug fix, test=develop
      
      * clean code, test=develop
      
      * fix dygraph guard in unittest, test=develop
      
      * add property setters, remove unused param in tracer, test=develop
      
      * tracer none check, test=develop
      
      * merge, test=develop
      
      * refine, test=develop
      
      * bug fix in  prelu and conv3d_transpose, test=develop
      
      * rm __set__, test=develop
      
      * set tensor value instead of assign op
      
      * fix property setter call, test=develop
      
      * fix api.spec, test=develop
      
      * fix doc sample, test=develop
      54e07994
  2. 27 9月, 2019 5 次提交
    • Z
      Fix en docs of apis (#20050) · 20f0878f
      Zeng Jinle 提交于
      * fix en docs of apis, test=develop, test=document_fix
      
      * follow chunwei's comments, test=develop
      20f0878f
    • J
      Optimze/optimize dygraph api (#19999) · 39ff0f9c
      Jiabin Yang 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, Add Variable api and refine dygraph related API
      
      * test=develop, Add Variable api and refine dygraph related API
      
      * test=develop, refine test for new api and error info
      
      * test=develop, refine error info and test_layers
      
      * test=develop, add API.spec
      
      * test=devleop, fix to_string python2 and python3 compat error and refien doc
      
      * test=devleop, add API spec
      
      * test=devleop, update API spec
      
      * test=devleop, update API spec
      
      * test=develop, invoke ci
      
      * test=develop, fix example code
      
      * test=develop, update API spec
      
      * test=develop, add compat test and fix inplace campat dict error
      39ff0f9c
    • W
      Refine document of DGCMomentumOptimizer (#19960) · 8d92b36d
      WangXi 提交于
      Refine document of DGCMomentumOptimizer
      8d92b36d
    • D
      Polish English docs of elementwise_add/sub/mul/div (#20027) · 5cef7a2f
      danleifeng 提交于
      Polish English docs of elementwise_add/sub/mul/div
      5cef7a2f
    • H
      Update API of paddle.fluid.data (#20024) · 7836f477
      Huihuang Zheng 提交于
      Set output type LoDTensor only
      
      After code experiment, I found data doens't support other type
      7836f477
  3. 26 9月, 2019 5 次提交
    • 1
      fix APIs, test=document_preview (#19954) · 6c74e738
      123malin 提交于
      * fix DistributeTranspilerConfig document, test=develop
      6c74e738
    • W
      Make PaddleSlim support PyReader (#19995) · 3ea2b661
      whs 提交于
      * Make PaddleSlim support PyReader.
      * Fix unittest of sensitive pruning.
      * Add some assert.
      3ea2b661
    • G
      Polish elementwise max min pow document to add more examples. (#19946) · a7512db2
      gongweibao 提交于
      Polish elementwise max min pow document to add more examples
      a7512db2
    • M
      fix doc of apply_optimize (#19965) · d62360fe
      mapingshuo 提交于
      * fix doc of apply_optimize
      test=document_fix
      test=document_preview
      
      * modify doc of backward
      test=develop
      test=document_fix
      
      * modify document hash
      test=develop
      test=document_preview
      d62360fe
    • H
      Add new data layer (#19916) · 88af4ab6
      Huihuang Zheng 提交于
      The new "fluid.data" changes old "fluid.layers.data":
      
      1. Add shape and dtype check.
      2. Remove "append_batch_size" parameter. We won't offer this in the new data layer because other deep learning platforms don't have this kind of data layer pre-processing. It may confuse users.
      3. Remove "stop gradient" parameter because the data layer doesn't do back-propagation
      
      TODO:
      Now data layer feeded by executor is checked, will we want to check the feed data of readers in the future?
      88af4ab6
  4. 25 9月, 2019 7 次提交
  5. 24 9月, 2019 4 次提交
    • Y
      update en document of shard_index_op (#19963) · 2efdf0ef
      Yi Liu 提交于
      test=develop
      test=document_fix
      2efdf0ef
    • J
      add optimizer:dpsgd,test=develop (#19915) · 766bd529
      jhjiangcs 提交于
      766bd529
    • A
      Remove constraint that last dimension is forced to be 1 by adding lookup_table_v2 (#19735) · 039b9710
      Aurelius84 提交于
      * Remove constraint that last dimension is forced to be 1 by add
      lookup_table_v2 test=develop
      
      * modify into PADDLE_ENFORCE_CUDA_SUCCESS test=develop
      
      * Revert "modify into PADDLE_ENFORCE_CUDA_SUCCESS test=develop"
      
      This reverts commit 8a960bfc61e51aa27c3c529df8fb90b93ebd19f9.
      
      * move api into fluid.embedding test=develop
      
      * fix example code test=develop
      
      * move one_hot into fluid.one_hot
      
      * modify api.spec test=develop
      
      * fix loss shape test=develop
      039b9710
    • W
      [PaddleSlim] Enhence compressor api in PaddleSlim (#19894) · bdb3e376
      whs 提交于
      
      1. Support customize eval function instead of eval program.
      2. Fix loading checkpoint in quantization strategy.
      3. Support saving eval model when saving a checkpoint.
      4. Fix decoder of loading context in PaddleSlim.
      5. Fix restoring from the checkpoint of uniform prune strategy.
      6. Support saving eval model and infer model during training.
      7. Add ‘unitest’ for saving eval model, saving infer model and uniform pruning restoring from the checkpoint.
      8. Fix pruning of depthwise_conv_grad op by updating the groups.
      bdb3e376
  6. 23 9月, 2019 5 次提交
    • Z
    • M
      Forward recompute3 (#19913) · 9901f696
      mapingshuo 提交于
      * add recompute based checkpoints methods for large batch training
      test=develop
      
      * add append_backward_with_forward_recomputation
      test=develop
      
      * refine optimizer
      test=develop
      
      * update backward and optimizer
      test=develop
      
      * make Variable usable
      test=develop
      
      * add recompute code
      
      * refine optimizer
      test=develop
      
      * refine addup _append_backward_ops_with_checkpoints_
      1) for recompute part, just cache the grad_op_desc without appending to block
      2) before appending grad_op_desc to backward part, addup_repetitive_vars, remove unused branch
      test=develop
      
      * make method private
      
      * add recompute strategy into DistributedStrategy
      test=develop
      
      * checkpoint version3
      test=develop
      
      * remove some print information
      test=develop
      
      * remove unused sumop
      test=develop
      
      * try to fix recompute with graph building modules
      
      * add input names to vars should be held
      
      * add memory debug tool
      
      * backup backward
      
      * Fix bugs
      
      * add backward desc for op not in any segments
      
      * add exception info for sub_block
      
      test=develop
      
      * modify code style
      
      test=develop
      
      * modify code style
      
      test=develop
      
      * remove print functions
      
      test=develop
      
      * add API spec
      
      test=develop
      test=document_preview
      
      * make Recompute a child class of Optimizer
      
      test=develop
      test=document_preview
      
      * add API spec
      
      test=develop
      test=document_preview
      
      * modify API spec
      
      test=develop
      test=document_preview
      
      * add document for Recompute
      
      test=develop
      test=document_preview
      
      * change API doc of Rcompute
      
      test=develop
      test=document_preview
      
      * code cleaning
      
      test=develop
      test=document_preview
      
      * modify API spec
      
      * fix bugs when segments hold no element
      
      * add testcase for Recompute Optimizer
      
      test=develop
      test=document_preview
      
      * add test for apply_gradient, and code cleaning
      
      test=develop
      test=document_preview
      
      * add test case for load function
      
      * enable CI
      
      test=develop
      test=document
      
      * add test case
      
      test=develop
      test=document_preview
      
      * add sample code for 4 function of recompute optimizer
      
      test=develop
      test=document_preview
      9901f696
    • R
      add mse_loss (#19759) · d31c92a2
      ruri 提交于
      * add mse_loss op
      d31c92a2
    • T
      move tree_conv to fluid.contrib.layers (#19918) · a4919d36
      Tao Luo 提交于
      * move tree_conv to fluid.contrib.layers
      
      test=develop
      
      * update API.spec for tree_conv
      
      test=develop
      
      * update tree_conv api to increase unit coverage
      
      test=develop
      a4919d36
    • Z
      Unify DataLoader APIs (#19305) · 0436efd6
      Zeng Jinle 提交于
      * unify DataLoader APIs, test=develop
      
      * integrate iterable CPU Dataset, test=develop
      add GPU dataset supporting, test=develop
      
      * add unittests for dataset, test=develop
      
      * add more docs to dataloader apis, test=develop, test=document_preview
      
      * refine doc, test=develop
      
      * refine doc again, test=develop
      
      * increase coverage, test=develop
      0436efd6
  7. 22 9月, 2019 1 次提交
  8. 21 9月, 2019 1 次提交
  9. 20 9月, 2019 3 次提交
    • Z
      group_norm support data_layout:NHWC, test=develop, test=document_preview (#19614) · 93364b45
      Zhang Ting 提交于
      1. group_norm support data_layout=NHWC
      2. modified doc of group_norm
      93364b45
    • Z
      modified interpolate op to support tensor attribute, test=develop, test=document_preview (#19287) · 439d95e1
      Zhang Ting 提交于
      modified interpolate_op to support tensor attribute
      
      1. the parameter out_shape of image_resize、resize_nearest/bilinear/trilinear can be a list or a 1-D tensor variable. If a list, each element can be an integer or a tensor variable with shape: [1].
      
      2. the parameter scale of above Ops can be a 1-D tensor variable.
      modified document of image_resize, resize_nearest, resize_bilinear, resize_trilinear and add some code example.
      439d95e1
    • Z
      add crop_tensor_op, test=develop, test=document_preview (#19314) · b3888941
      Zhang Ting 提交于
      add crop_tensor op. The main difference with crop is :
      
      1. If the argument shape is a list, each element is an integer or a tensor variable with shape: [1]. This way is suitable for the case that the shape may be changed each iteration.
      
      2. If the argument shape is a variable. Its rank must be 1. In crop op, the rank of shape must be the same as x
      
      offsets can be a list, in which each element is an integer or a tensor variavle with shape: [1].
      b3888941
  10. 19 9月, 2019 4 次提交
    • F
      hide with inference optim API (#17355) · fe18cfdb
      flame 提交于
      fe18cfdb
    • W
      add precise roi pooling op test=develop (#18960) · a7c440d3
      wopeizl 提交于
      * add precise roi pooling op test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * detail the description test=develop
      
      * test=develop
      
      * elaborate the doc for return type test=develop
      
      * test=develop
      a7c440d3
    • J
      Optimize amp for multi-gpu to enable FP16 gradients transfer across gpus. (#19714) · d9db94d7
      Jie Fang 提交于
      Optimize amp for multi-gpu to enable FP16 gradients transfer across gpus
      d9db94d7
    • W
      Strided slice (#19642) · 47af618f
      wangchaochaohu 提交于
      * strided_slice op basic function test=develop
      
      * test=develop rewrite and fix
      
      * fix bug test=develop
      
      * fix for the PADDLE_ENFORCE usage
      
      * add some unit testw
      
      * fix for the aip  test and copright and fix test=develop
      
      * fix API.spec test=develop
      
      * fix API.spec test=develop
      
      * add axis parameter test=develop
      
      * fix for the build error test=develop
      
      * fix python api  test=develop
      
      * fix the build test=develop
      
      * fix build test=develop
      
      * fix API spec test=develop
      
      * test=develop add some comment and single op test
      
      * fix API spece test=develop
      
      * fix test=develop
      
      * fix test=develop
      
      * fix api test=develop
      
      * fix api test=develop
      
      * fix API.spec test=develop
      
      * fix typo test=develop
      
      * fix API.spec test=develop
      
      * fix API typo test=develop
      
      * fix doc and API.spec test=develop
      47af618f
  11. 17 9月, 2019 4 次提交
    • C
      add deformable conv v1 op and cpu version of deformable conv v2 (#18500) · 00efd1d8
      chengjuntao 提交于
      * add deformable conv v1 op, test=develop
      00efd1d8
    • L
      fix pow op, support tensor for agument factor. (#19313) · 677e7144
      liym27 提交于
      improve pow op according to reviews:
      1. Delete unnecessary judgement statements in PowGradOpDescMaker;
      2. Improve test of test_api;
      
      overload GetKernelTypeForVar
      
      add stop_gradient=True when attr(factor) is tensor Variable, change examples in API pow.
      test=develop,test=document_preview
      677e7144
    • L
      add tensor support for argument shape in reshape op; (#19268) · bd89a273
      liym27 提交于
      add support parameter inference when argument shape is a list containing integer and tensor variable;
      test=develop
      
      fix reshape op according to reviews:
      1. improve or message;
      2. improve test of test_api.
      test=develop,test=document_preview
      
      fix reshape op: Add error message in nn.py, test=develop
      
      add stop_gradient=True when attr(shape) is tensor Variable.
      change examples in API reshape.
      test=develop,test=document_preview
      bd89a273
    • L
      add tensor(tensor and tensor in list) support for argument starts and ends in slice op; (#19208) · 88628016
      liym27 提交于
      add support parameter inference when arguments starts or ends is a list containing integer and tensor variable;
      test=develop,test=document_preview
      
      improve slice op according to review(from hongyu). test=develop
      
      fix slice op according to review: infer_flags, test=develop
      
      fix slice op: improve overload operator __getitem__ to support attrs(starts and ends) are Variable.
      test=develop,test=document_preview
      
      fix test_slice_op: add TestSliceOp_decs_dim_6 to resolve conflict with test_slice_ngraph_op. test=develop
      
      add stop_gradient=True when attr(starts) or attr(ends) is tensor Variable.
      test=develop,test=document_preview
      88628016