1. 07 10月, 2019 1 次提交
    • Y
      Refactor linear chain crf op & crf decoding op (#19982) · 01ad8d2e
      Yibing Liu 提交于
      * Update crf_decoding api & example
      
      test=develop
      
      * Update api spec
      
      test=develop
      
      * Fix linear chain crf api
      
      test=develop
      
      * Avoid sharing data pointer with input
      
      test=develop
      
      * Simplify the logic in linear_chain_crf_decoding
      
      * Add unittest for crf_decoding when label & path both are set
      
      test=develop
      
      * Update API spec
      
      test=develop
      
      * Add unittest for layers && correct infer_shape in chunk_eval
      
      test=develop
      01ad8d2e
  2. 30 9月, 2019 1 次提交
  3. 29 9月, 2019 4 次提交
  4. 28 9月, 2019 4 次提交
    • Q
      Enable users to create custom cpp op outside framework. (#19256) · 1a3eef02
      qingqing01 提交于
      * How to write custom op needs to follow framework OP spec.
      * Package fluid_framework.so and headers into whl.
      * Add paddle.sysconfig.get_include() and paddle.sysconfig.get_lib() to get include dir and lib dir.
      * Export some C-APIs to merge OpInfo between core.so and custom_op.so.
      * Add unit testing.
      * Update API.spec.
      1a3eef02
    • S
      improve op uniform_random, argument shape support tensor and tensor in list (#19786) · f1eebf75
      silingtong123 提交于
      * test=develop, argument shape support tensor and tensor in list
      
      * test=develop,Increasing the coverage of CI tests
      
      * test=develop, modify the document and update API.spec
      
      * test=develop, modify the doc and update API.spec
      
      * test=develop, modify the doc and update API.spec
      
      * test=develop, modify the interface of UniformInitializer
      
      * test=develop, modify the interface of XavierInitializer and MSRAInitializer
      
      * test=develop, modify based on review's comments
      
      * test=develop, modify based on review's comments
      
      *  test=develop, modify based on review's comments
      f1eebf75
    • L
      fix pool2d pool3d,support asymmetric padding and channel_last (#19739) · 24010472
      liym27 提交于
      * fix pool2d pool3d:
      1. support asymmetric padding;
      2. support padding algorithm:"SAME" and "VALID";
      3. support channel_last: data_format NHWC and NDHWC;
      4. support inferring shape when input with negative dims in compile time;
      5. change doc of python API and c++;
      6. fix bug in cuda kernel when Attr(adaptive) is true.
      
      test=develop,test=document_preview
      
      * fix 'tensors' to 'Tensors'. test=develop,test=document_preview
      
      * add test for converage ValueError.test=develop,test=document_preview
      
      * resolve conflict in test_pool2d. test=develop
      24010472
    • 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
  5. 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
  6. 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
  7. 25 9月, 2019 7 次提交
  8. 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
  9. 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
  10. 22 9月, 2019 1 次提交
  11. 21 9月, 2019 1 次提交
  12. 20 9月, 2019 2 次提交