1. 20 11月, 2019 5 次提交
  2. 19 11月, 2019 4 次提交
  3. 18 11月, 2019 8 次提交
    • Z
      Fix warn of gcc8 (#21205) · cdb3d279
      Zeng Jinle 提交于
      * fix warnings oof gcc 8 compilation, test=develop
      
      * fix boost::bad_get, test=develop
      
      * refine PADDLE_ENFORCE, test=develop
      cdb3d279
    • J
      Better TensorRT support (#20858) · 330b173c
      Jeng Bai-Cheng 提交于
      * Fix TensorRT detection bug
      
      1. Add new search path for TensorRT at tensorrt.cmake
      2. Add better debug message
      3. Fix the bug of detection of TensorRT version
      
      In NVIDIA official docker image, TensorRT headers are located at
      `/usr/include/x86_64-linux-gnu` and TensorRT libraries are located
      at `/usr/lib/x86_64-linux-gnu`, so using `-DTENSORRT_ROOT` will
      fail to detect TensorRT.
      
      There is no debug/warning message to tell developer that TensorRT
      is failed to be detected.
      
      In later version of TensorRT (e.g. v6), `NV_TENSORRT_MAJOR` is
      defined at `NvInferVersion.h` instead of `NvInfer.h`, so add
      compatibility fix.
      
      * Fix TensorRT variables in CMake
      
      1. Replace `${TENSORRT_ROOT}/include` with `${TENSORRT_INCLUDE_DIR}`
      2. Replace `${TENSORRT_ROOT}/lib` with `${TENSORRT_LIBRARY}`
      
      Manually type path may locate incorrect path of TensorRT. Use the
      paths detected by system instead.
      
      * Fix TensorRT library path
      
      1. Add new variable - `${TENSORRT_LIBRARY_DIR}`
      2. Fix TensorRT library path
      
      inference_lib.cmake and setup.py.in need the path of TensorRT library
      instead of the file of TensorRT library, so add new variable to fix it.
      
      * Add more general search rule for TensoRT
      
      Let system detect architecture instead of manually assign it, so
      replace `x86_64-linux-gnu` with `${CMAKE_LIBRARY_ARCHITECTURE}`.
      
      * Add more general search rule for TensorRT
      
      Remove duplicate search rules for TensorRT libraries. Use
      `${TENSORRT_LIBRARY_DIR}` to get full path of libnvinfer.so
      
      test=develop
      330b173c
    • D
      3fe63d67
    • Z
      modified error message and API doc for channel_last supported Op (#21002) · 9cbe7bcc
      Zhang Ting 提交于
      * modified error message for conv and conv_transpose, test=develop
      
      * modified doc of conv and conv_transpose op, test=develop
      
      * modified the expression for error message, test=develop
      
      * modified error message for group_norm op, test=develop
      
      * modified detail of Attr(data_format) or Attr(data_layout)
      
      * add ValueError in API doc for maxout op, test=develop
      9cbe7bcc
    • L
      Control flow API: switch_case (#21103) · 92475282
      liym27 提交于
      * add API switch_case. test=develop
      
      add Nest
      
      * modify code according to reviews:
      1.Attr(branch_index) support 'uint8' and 'int64' besides 'int32'.
      2.remove useless code.
      test=develop
      
      * replace fluid.layers.data with fluid.data and polish API document. test=develop
      92475282
    • G
    • W
      Fix INF bug of softmax_cross_entropy_op (#21165) · 3c98ec90
      WangXi 提交于
      3c98ec90
    • Z
      fix dygraph trace bug, test=develop (#21193) · 0f30d3a2
      Zeng Jinle 提交于
      0f30d3a2
  4. 16 11月, 2019 1 次提交
  5. 15 11月, 2019 3 次提交
  6. 14 11月, 2019 6 次提交
  7. 13 11月, 2019 1 次提交
  8. 12 11月, 2019 7 次提交
  9. 11 11月, 2019 3 次提交
    • H
      Add basic Python Cond Layer (#21050) · e64d55f0
      Huihuang Zheng 提交于
      e64d55f0
    • H
      Disable cudnn_conv in unit tests. (#21080) · dcf371b6
      Huihuang Zheng 提交于
      dcf371b6
    • Y
      Add the check of lod_level between compile-time and runtime. (#20961) · 35f17ae2
      Yiqun Liu 提交于
      * Add the check of lod_level between compile-time and runtime.
      test=develop
      
      * Fix bug in check_compile_vs_runtime.
      test=develop
      
      * Fix the check of output when it is dispensiable or intermediate.
      test=develop
      
      * Share lod of x to out in match_matrix_tensor op in compile-time.
      
      * Implement GetLoDLevel in InferShapeContext.
      
      * Set the default value of check_compile_vs_runtime to False and enable it in test_sequence_pad_op.
      test=develop
      
      * Enable check_compile_vs_runtime in test_match_matrix_tensor.
      
      * Add the implementation of SetLoDLevel in InferShapeContext.
      
      * Remove the implementation of IncreaseLoDLevel and call Get/SetLoDLevel instead.
      
      * Remove the implementation of DecreaseLoDLevel and call Set/GetLoDLevel instead.
      
      * Refine some ops and unittests.
      test=develop
      
      * Fix a typo.
      test=develop
      
      * Remove the check of var type, and change int to int32_t.
      test=develop
      
      * Add unittest for Get/SetLoDLevel.
      test=develop
      35f17ae2
  10. 08 11月, 2019 2 次提交
    • T
      Split some APIs from nn.py to rnn.py and sequence_lod.py (#21030) · 78cc1ca6
      Tao Luo 提交于
      * split some APIs from nn.py to rnn.py
      
      * split some APIs from nn.py to sequence_lod.py
      
      test=develop
      
      * fix unit-test bug
      
      test=develop
      
      * fix test_layers unit-test bug
      
      test=develop
      78cc1ca6
    • J
      Add transpose2 INT8 for mkl-dnn (#19424) · 77c20835
      joanna.wozna.intel 提交于
      * Add transpose2 INT8 for mkl-dnn
      
      test=develop
      
      * Fix test_transpose_int8_mkldnn
      
      test=develop
      
      * Revert "Merge branch 'develop' into transpose_int8_mkldnn_2"
      
      This reverts commit 34011bdb, reversing
      changes made to 2ce6473f.
      
      * Revert "Revert "Merge branch 'develop' into transpose_int8_mkldnn_2""
      
      This reverts commit 23754dd7.
      
      * Add template to TransposeMKLDNNHandler
      
      test=develop
      
      * Resolve conflict
      
      test=develop
      
      * Restore get_size and refactor
      
      test=develop
      77c20835