1. 21 11月, 2019 1 次提交
    • Z
      open dygraph op test, test=develop (#19787) · c4ede95c
      zhongpu 提交于
      * open dygraph op test, test=develop
      
      * modify to_variable, test=develop
      
      * modify input and output for dygraph, test=develop
      
      * modify input and output for dygraph(fix bug), test=develop
      
      * fix input processing of dygraph op test, test=develop
      
      * fix bug, test=develop
      
      * fix op test, test=develop
      
      * fix forward bug for dygraph, test=develop
      
      * fix mkldnn op test for forward, test=develop
      
      * update nn.py for dygraph, test=develop
      
      * fix crop_tensor_op, test=develop
      
      * fix elementwise_mul_op, test=develop
      
      * fix fill_op, test=develop
      
      * fix some mkldnn op, test=develop
      
      * open backward op test for dygraph, test=develop
      
      * delete log, test=develop
      
      * close backward op test for dygraph, test=develop
      
      * fix bug for edit_distance_op and test_lstm_cudnn_op, test=develop
      
      * fix optest backward bug for dygraph, test=develop
      
      * fix optest backward bug for dygraph, test=develop
      
      * close backward op test for dygraph, test=develop
      
      * close backward op test for dygraph, test=develop
      
      * open dygraph op test, test=develop
      
      * fix op test for dygraph, fix GradOpDescMaker, test=develop
      
      * fix bug for linear_chain_crf_op.h, test=develop
      
      * remove log, test=develop
      
      * remove log, test=develop
      
      * remove log for op_test.py, test=develop
      
      * remove log for op_test.py, test=develop
      
      * fix bug for var_conv_2d_op, change PADDLE_ENFORCE, test=develop
      
      * fix PADDLE_ENFORCE_EQ for hierarchical_sigmoid_op.cc, test=develop
      
      * fix bug for test_increment_ngraph_op.py, test=develop
      
      * fix lod for op test in dygraph, test=develop
      
      * refactor op_test.py to reduce redundant code, test=develop
      
      * fix lod optest, modify InputVar/OutputVar to HasInput/HasOutput, test=develop
      
      * remove debug log, test=develop
      
      * remove redundant code in base.py, test=develop
      
      * fix some error in optest, test=develop
      
      * fix ClearNoNeedBufferInputs function's bug for LoDTensor, test=develop
      
      * refactor op_test.py, test=develop
      
      * remove redundant writing, test=develop
      
      * fix error(get tensor of the grad variable), test=develop
      
      * fix test_concat_mkldnn test_conv2d_mkldnn, test=develop
      
      * fix optest.py for get tensor of LoDTensor, test=develop
      
      * fix optest.py for get tensor of LoDTensor, test=develop
      
      * fix optest.py for get tensor of LoDTensor, test=develop
      
      * fix some redundant code, test=develop
      
      * reslove conflict and rewrite paddle error message, test=develop
      c4ede95c
  2. 08 11月, 2019 1 次提交
    • L
      fix bug in pool/conv/conv_transpose: UpdatePaddingAndDilation,... · 26a6e27a
      liym27 提交于
      fix bug in pool/conv/conv_transpose: UpdatePaddingAndDilation, _get_padding_with_SAME and conv2dtranspose_forward_naive. (#20997)
      
      * fix bug in pool/conv/conv_transpose:
      1. It should be stride[i] not stride[0] in UpdatePaddingAndDilation;
      2. fix bug of func  _get_padding_with_SAME in test_conv/conv_transpose_op.py;
      3. fix bug of the computation process in function conv2dtranspose_forward_naive.
      test=develop
      
      * change test to make the data of different dimensions different. test=develop
      26a6e27a
  3. 07 10月, 2019 1 次提交
  4. 29 9月, 2019 1 次提交
    • L
      fix conv2d and conv3d: (#20042) · 3aa331d9
      liym27 提交于
      1.support asymmetric padding;
          2.support padding algorithm:"SAME" and "VALID";
          3.support channel_last: data_format NHWC and NDHWC;
          4.change doc of python API and c++;
      
          test=develop, test=document_preview
      3aa331d9
  5. 01 8月, 2019 1 次提交
  6. 22 4月, 2019 2 次提交
    • G
      resolve #16988 (#16995) · ae7a2cb8
      guomingz 提交于
      Update the filter generation mechanism that it could generate the negative parameter.
      The original calling(np.random.random()) couldn't simulate the conv/relu fusion case.
      
      test=develop
      ae7a2cb8
    • G
      resolve #16987 (#16994) · 23df084b
      guomingz 提交于
      Rename the testcuda function to has_cuda, it will elimate the unnecessary testing.
      test=develop
      23df084b
  7. 21 1月, 2019 1 次提交
    • D
      Memory optimization of depthwise conv op and group norm op (#15313) · 9f8f0fc2
      Dun 提交于
      * mem opt
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * refine code  test=develop
      
      * refine code  test=develop
      
      * refine code  test=develop
      
      * refine code  test=develop
      
      * refine with cub test=develop
      
      * fix mkldnn test && remove comments && test=develop
      
      * polish code && test=develop
      
      * add only_forward test && test=develop
      9f8f0fc2
  8. 04 1月, 2019 1 次提交
    • X
      Enable basic MKL-DNN INT8 Conv OP (#15124) · bbc93368
      xiaolil1 提交于
      * Enable basic MKL-DNN INT8 Conv OP
      test=develop
      
      * Modify test case
      test=develop
      
      * Clean unittest code
      test=develop
      
      * Fix test
      test=develop
      
      * Modify test
      test=develop
      
      * Modify basic INT8 Conv
      test=develop
      bbc93368
  9. 09 11月, 2018 1 次提交
    • Q
      Exhaustive search for cuDNN conv. (#14286) · abe20923
      qingqing01 提交于
      * exhaustive search for cuDNN conv.
      * Refine code and add unit testing.
      * Fix model load in fluid/inference and unit testing in conv2d
      * Follow comments.
      * Fix compiling test=develop
      abe20923
  10. 08 11月, 2018 1 次提交
  11. 07 11月, 2018 3 次提交
    • C
      Add fp16 backward support (#14202) · a9b5d42d
      chengduo 提交于
      * add fp16 backward support
      test=develop
      
      * add sum_op fp16 test
      
      * disable test_dist_save_load
      test=develop
      
      * add check_grad for sum
      
      * add unit test for softmax_grad fp16
      test=develop
      
      * add scale_op unit test
      
      * add mul_grad_op unit test for fp16
      
      * add cross_entropy_grad and eman_grad unit test for fp16
      test=develop
      
      * fix cross_entropy unit test
      
      * add pool2d fp16 unit test
      
      * refine conv2d fp16 unit test
      test=develop
      
      * refine activation unit test
      test=develop
      
      * fix ci
      test=develop
      
      * follow zhihong's comment, copy from https://github.com/PaddlePaddle/Paddle/pull/12796
      test=develop
      a9b5d42d
    • Q
      Revert " Exhaustive search for cuDNN conv. (#14043)" · db8c52da
      qingqing01 提交于
      This reverts commit ce7d9b07.
      db8c52da
    • Q
      Exhaustive search for cuDNN conv. (#14043) · ce7d9b07
      qingqing01 提交于
      * exhaustive search for cuDNN conv.
      * Refine code and add unit testing.
      * Clean code
      * Fix model load in fluid/inference and unit testing in conv2d
      * Follow comments.
      ce7d9b07
  12. 29 9月, 2018 4 次提交
  13. 15 8月, 2018 1 次提交
  14. 10 8月, 2018 2 次提交
  15. 09 8月, 2018 2 次提交
  16. 26 7月, 2018 2 次提交
  17. 17 4月, 2018 1 次提交
  18. 07 4月, 2018 1 次提交
  19. 17 3月, 2018 2 次提交
  20. 16 3月, 2018 3 次提交
  21. 07 3月, 2018 1 次提交
  22. 27 2月, 2018 1 次提交
  23. 24 2月, 2018 2 次提交
  24. 13 2月, 2018 1 次提交
    • X
      Run Python OP tests in a single Python process to improve test time. (#8362) · cde6241a
      Xin Pan 提交于
      Currently, our tests run with 2 GPUs, the init time is absurdly long:
      about 4s for each process.  Currently, we run each OP test on
      different processes. This PR:
      
      1. create cmake function py_test_modules which will generate the
      Makefile that runs a list of Python unittest module in a single Python
      process.
      
      2. move all "python unittest compatible" (e.g., used the unittest
      package, not just a regular python file). from fluid/tests to
      fluid/tests/unittests.
      
      3. cmake now will run all OP tests in fluid/tests/unittests in a
      single process, except the time-consuming tests, they are separated
      into different processes to utilize parallelism. Please make sure to
      use the unittest package if you put the python test file in
      fluid/tests/unittests
      
      4. remove all exit(0) from fluid/tests/unittests/*.py, exit(0) is used
      to disable unittest, we can not do it when running all tests in a
      single process since it will terminate the process without running the
      other tests. Instead, the test is disabled in
      fluid/tests/unittests/CMakeLists.txt. FIXME is added for each disabled
      item. Please disable the unittest from
      fluid/tests/unittests/CMakeLists.txt, instead of adding exit(0) to the
      Python file, for all Python file in fluid/tests/unittests/.
      
      5. add an option WITH_FAST_BUNDLE_TEST. When OFF, will run the unit
      tests in separate process so that they can be tested individually.
      cde6241a
  25. 12 2月, 2018 1 次提交
  26. 02 2月, 2018 1 次提交
  27. 21 1月, 2018 1 次提交
    • D
      "fix decode bug" (#7711) · e983cc90
      dzhwinter 提交于
      * "fix decode bug"
      
      * "follow commnet"
      
      * "fix error"
      
      * "fix hook bug"
      
      * fix based comment
      
      * fix copyright
      
      * fix based on comment
      e983cc90