1. 20 9月, 2019 2 次提交
    • 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
  2. 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
  3. 17 9月, 2019 5 次提交
    • 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
    • L
      fix expand op: (#19302) · e9e3c087
      liym27 提交于
      1. add tensor support for argument expand_times in expand op;
      2. add support parameter inference when argument expand_times is a list containing integer and tensor variable;
      
      improve expand op according to reviews:
      1. add doc of ExpandTimes in expand_op.cc;
      2. improve the test of test_api.
      
      add stop_gradient=True when attr(expand_times) is tensor Variable, change code examples.
      test=develop,test=document_preview
      e9e3c087
  4. 12 9月, 2019 2 次提交
  5. 11 9月, 2019 2 次提交
  6. 10 9月, 2019 2 次提交
    • W
      merge empty lod tensor, test=develop (#19228) · 25dcd74d
      wangguanzhong 提交于
      * merge_empty_lod_tensor, test=develop
      
      * fix multiclass_nms, test=develop
      
      * refine API.spec, test=develop
      
      * add unittest case for fetch, test=develop
      
      * add lod tensor test, test=develop
      
      * return index for multiclass_nms, test=develop
      
      * add api for multiclass_nms2
      
      * update API.spc, test=develop
      
      * refine api doc, test=develop
      
      * fix test_detection.py, test=develop
      
      * polish code, test=develop
      
      * add more unittest case, test=develop
      25dcd74d
    • G
      Fix float16 optimizer. (#19682) · 6c2bc29c
      gongweibao 提交于
      Fix float16 optimizer
      6c2bc29c
  7. 09 9月, 2019 2 次提交
    • C
      Fix train error when test_program.clone is executed after optimizer.minimize (#19397) · c78a4781
      Chen Weihang 提交于
      * add prune when test_program.clone is executed after optimizer.minimize
      
      * add unittest, test=develop
      
      * add resnet and transformer test case, test=develop
      
      * add regularization for optimizer & program compare function, test=develop
      
      * add lstm unittest, test=develop
      
      * polish code based on review comment, test=develop
      
      * adapt to interface change in framework._prune, test=develop
      
      * update API.spec, test=develop
      c78a4781
    • J
      delete transmission args in linear_chain_crf op (#19619) · 0b06db94
      JesseyXujin 提交于
      * delete args on linear_chain_crf_op doc
      
      * delete args on linear_chain_crf_op doc
      
      * delete args on linear_chain_crf_op doc
      
      * add code example
      
      * fix api doc
      
      * fix doc of crf
      
      * fix doc of crf
      
      * add test=develop
      
      * modify API.spec, test=develop
      0b06db94
  8. 06 9月, 2019 1 次提交
  9. 05 9月, 2019 3 次提交
    • J
      Refactor dygraph (#19107) · e9233d1c
      Jiabin Yang 提交于
      * refactor dygraph,test=develop
      
      * fix failed unittest,test=develop
      
      * polish code,test=develop
      
      * check windows ci error,test=develop
      try to fix windows ci error by np.allclose,test=develop
      
      * polish vlog and profiler, test=develop
      
      * try to fix preceding ops order,test=develop
      
      * test transformer in windows ci, test=develop
      
      * use python c-api to speed up tracer.trace,test=develop
      
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, add ut for debug string and gradient_accumulator
      
      * test=develop, add tests for layer/gradient_accumulator/prepared_op
      
      * test=develop, fix complie error for test_prepared_op
      
      * test=develop, add more ut for dygraph
      
      * test=develop, create API.spec for dygraph api change
      
      * test=develop, refoctor name to make it easier to understand
      
      * test=develop, refoctor name to make it easier to understand
      
      * test=develop, fix multi-gpu failed problem , add Tracer tests, change PADDLEENFORCE to PADDLEENFORCE_EQ
      
      * test=develop, fix ut failed on parallel se-resnext
      
      * test=develop, change one more PADDLE_ENFORCE
      e9233d1c
    • A
      Add distributions of Categorical and MultivariateNormal (#18263) · 6364ebc4
      Aurelius84 提交于
      * add_distributions_of_normal_and_uniform
      
      * paddle/fluid/API.spec
      
      * modify API.spec
      
      * modified paddle/fluid/API.spec, test=develop
      
      * modify paddle/fluid/API.spec, test=develop
      
      * modify paddle/fluid/API.spec, test=develop
      
      * fix some comment, test=develop
      
      * modify API.spec, test=develop
      
      * Add distributions of Categorical and MultivariateNormal test=develop
      
      * fix pylint codestyle test=develop
      
      * fix conflict file test=develop
      
      * edit API.spec test=develop
      
      * improve sample code test=develop
      
      * modify api.spec test=develop
      6364ebc4
    • F
      add a argument for softshrink python api (#19396) · a18cf5e1
      FDInSky 提交于
      * test=develop add a argument for softshrink python api
      
      * test=develop fix doc format 
      
      test=develop fix doc format
      
      * test=develop fix API.spec
      
      test=develop fix API.spec
      a18cf5e1
  10. 04 9月, 2019 1 次提交
    • S
      add scatter_nd op and scatter_nd_add op (#19571) · 2cd3fa3e
      ShenLiang 提交于
      * add scatter_nd op, test=document_preview test=develop
      
      * fixed the document, test=document_preview test=develop
      
      * modify the notes, test=document_preview test=develop
      
      * remove the ShareDataWith, test=develop
      2cd3fa3e
  11. 02 9月, 2019 2 次提交
    • X
      modified multiclass_nms example (#19553) · 7a867063
      xiaoting 提交于
      test=develop, test=document_preview
      7a867063
    • J
      add padding in linear_chain_crf op (#19583) · 4a7e6deb
      JesseyXujin 提交于
      * add padding in linear_chain_crf op
      
      * modify API.spec
      
      * add linear_chain_crf_op.cc and linear_chain_crf_op.h
      
      * remove useless unit test , test=develop
      
      * modify API.spec, test=develop
      
      * remove some blanks in nn.py , test=develop
      
      * fix some bugs on nn.py and API.spec ,test=develop
      
      * fix nn.py, test=develop
      
      * fix API.spec ,test=develop
      
      * fix bug of CI test in test_linear_chain_crf_op.py
      
      * fix bug of CI test in test_linear_chain_crf_op.py, test=develop
      
      * remove paddle_enforce, test=develop
      
      * remove paddle_enforce, test=develop
      
      * remove paddle_enforce, test=develop
      
      * remove paddle_enforce, test=develop
      
      * remove paddle_enforce, test=develop
      
      * remove paddle_enforce, test=develop
      
      * modify nn.py, test=develop
      
      * fix API.spec, test=develop
      
      * fix unittest bug, test=develop
      4a7e6deb
  12. 30 8月, 2019 3 次提交
  13. 28 8月, 2019 2 次提交
    • D
      fix row_conv_op to force it support lodtensor and tensor input simultaneously,... · 1d0f0431
      Double_V 提交于
      fix row_conv_op to force it support lodtensor and tensor input simultaneously, test=develop (#19412)
      
      Support Tensor input for row_conv_op
      1d0f0431
    • J
      fix con2d transpose bias by create and init it in build_once (#18968) · 1ce0a09e
      Jiabin Yang 提交于
      * fix con2d transpose bias by create and init it in build_onee
      
      * fix API spec
      
      * test=develop, invoke ci
      
      * fix bias_attr and act has no effect error on layer norm, conv2dTranpose, billinearTensorProduct, sequece_conv. fix original_mode not used error on GRUunit. fix sample_weight not set error on NCE. Add ut for all thoese layer
      
      * test=develop, change success standard for conv2dTranspose
      
      * test=develop, fix test_layers to invoke some error branch
      
      * test=develop, fix sample code
      
      * test=develop, fix BilinearTensorProduct failed in dygraph mode
      
      * test=develop, fix test_layers segment fault error
      1ce0a09e
  14. 27 8月, 2019 2 次提交
    • A
      improve sequence_conv api doc (#19316) · a9cd5136
      Aurelius84 提交于
      * improve sequence_conv api doc test=develop
      
      * add warning for padding param test=develop
      
      modify into deprecated
      a9cd5136
    • V
      Support Tensor input with padding for warpctc op (#19322) · 482ce818
      vincentXiyu 提交于
      * support tensor input with padding for warpctc op
      
      * merge with develop
      
      * test=develop
      
      * modified python API examples test=develop
      
      * nn.py is modified for code coverage test=develop
      
      * update documents info about warpctc op in API.spec test=develop
      
      * add test_warpctc_with_padding in test_layers test=develop
      
      * add warning log for cuda_version back to warpctc_op.cc
      
      * modify API.spec for warpctc op test=develop
      
      * modify API.spec
      
      * update warpctc test to new CompiledProgram API test=develop
      
      * modify code examples for warpctc op test=develop
      
      * modify API.spec for warpctc op test=develop
      
      * modify API.spec for warpctc op test=develop
      482ce818
  15. 26 8月, 2019 1 次提交
    • M
      Lookahead optimizer (#19386) · d5ac87ec
      mapingshuo 提交于
      * Add lookahead optimizer
      
      * add unittest for lookahead optimizer
      
      test=develop
      
      * add doc string for LookaheadOptimizer
      
      test=develop
      test=document_preview
      
      * add API spec for lookahead
      
      test=develop
      test=document_preview
      
      * modify api spec
      
      test=develop
      test=document_preview
      
      * modified doc string
      
      * modify the test file
      
      test=develop
      test=document_preview
      
      * modify doc string
      
      test=develop
      test=document_preview
      d5ac87ec
  16. 24 8月, 2019 1 次提交
  17. 22 8月, 2019 2 次提交
  18. 20 8月, 2019 1 次提交
  19. 19 8月, 2019 2 次提交
    • L
      Fix the mistake of convolution (#19274) · d08d5ab5
      lvmengsi 提交于
      d08d5ab5
    • A
      Add match_matrix_tensor op (#18525) · 78a3d837
      Aurelius84 提交于
      * add matrch_matrix_tensor op test=develop
      
      * fix ignore unittest if with_mkl=off test=develop
      
      * clean code and rm is_test param test=develop
      
      * modify API.spec test=develop
      
      * rm useless code in search_compute.h test=develop
      
      * modify api.spec test=develop
      
      * modify default_grad.spec test=develop
      
      * Add API test code test=develop
      
      * clean code in search_computer.h
      
      * modify PADDLE_ENFORCE and clean search_compute.h test=develop
      
      * fix code style test=develop
      78a3d837