1. 04 6月, 2019 1 次提交
  2. 28 3月, 2019 1 次提交
    • J
      [MKL-DNN] Tensor modifications revert (#16462) · 26323274
      Jacek Czaja 提交于
      * Revert "[MKL-DNN] Fix to crash of Transformer when mkldnn is to be used (#16233)"
      
      This reverts commit 13816dd4.
      Apart from enabling transformer for MKL-DNN
      
      * Revert "- MKL-DNN pooling updated to set_prim_desc"
      
      This reverts commit c63f6b20.
      
      Conflicts:
      	paddle/fluid/operators/mkldnn/concat_mkldnn_op.cc
      
      * Revert "[MKL-DNN] MKL-DNN specific Tensor modification (#15429)"
      
      test=develop
      
      This reverts commit dec9cf53.
      
      * - concat compilation fix
      
      - lint
      
      test=develop
      
      - Lint fixes
      
      test=develop
      
      - Lint fixes
      
      test=develop
      
      - Fix Transpose MKLDNN op
      
      test=develop
      26323274
  3. 25 2月, 2019 1 次提交
    • J
      [MKL-DNN] MKL-DNN specific Tensor modification (#15429) · dec9cf53
      Jacek Czaja 提交于
      * - Implemented draft of primitive desc keeping in Tensor
      
      test=develop
      
      - TransposeMKLDNNHandler::AcquireSrcMemory was reimplemented
      
      - Added nchw and nc formats setting for sake of compatiblity
      
      Fixed unit tests
      
      - Worakaround to problem with 5D data in conv
      
      - Added 3D and 1D MKL-DNN formats for name handles for tensor
      
      test=develop
      
      - Fix to UTs
      
      test=develop
      
      - Conv fp32 op was updated
      
      Cosmetic fixes
      
      test=develop
      
      - tensor mkldnn cosmetics
      
      test=develop
      
      - Moved most of mkl-dnn specific code from Tensor to mkl-dnn utils
      
      * - Lint fixes
      
      test=develop
      
      * - setting prim dec in Tensor , sets also layout to kMKLDNN
      
      test=develop
      
      * - Moved creation of prim desc totally out of Tensor
      
      test=develop
      
      * - Cosmetic fixes adter review
      
      test=develop
      dec9cf53
  4. 12 12月, 2018 1 次提交
  5. 10 12月, 2018 1 次提交
    • B
      Remove unnecessary MKLDNN reorder (#14799) · 9623b45f
      Brian Liu 提交于
      When data flow from a MKLDNN OP kernel to a non-MKLDNN OP kernel,
      data layout transform (via MKLDNN reorder) will occur even when
      those two OP kernels share same layout. Add code to remove this
      unnecessary reorder.
      
      test=develop
      9623b45f
  6. 31 8月, 2018 1 次提交
  7. 28 6月, 2018 1 次提交
  8. 26 6月, 2018 1 次提交
    • T
      MKLDNN elementwis_add with default broadcast operations (#11544) · e26f51ce
      Tomasz Patejko 提交于
      * elementwise_add with bcast: Brian's implementation by Brian added, with default bcasts
      
      * elementwise_add with bcast: GetExpectedKernelType added to elementwise_op
      
      * elementwise_add with bcast: use_mkldnn attribute added
      
      * elementwise_add with bcast: changes after review and some formatting
      
      * elementwise_add with bcast: changes after style check
      
      * elementwise_add with bcast: changes after style check cont.
      
      * elementwise_add with bcast: MKLDNN unittests added
      
      * elementwise_add with bcast: original unittests with use_mkldnn flag
      
      * elementwise_add with bcast: handling of MKLDNN format corrected
      
      * elementwise_add with bcast: setting MKLDNN format turned into lambda
      
      * elementwise_add with bcast: MKDNN format setting turned into separate function
      
      * elementwise_add with bcast: condition for choosing MKLDNN simplified
      
      * elementwise_add with bcast: fix for MKLDNN format set incorrectly in bcasts
      
      * elementwise_add with bcast: changes in unittests for broadcasts
      
      * elementwise_add with bcast: fixes in unittests regarding dimensions
      
      * elementwise_add with bcast: bring back correct format setting in mklml grad path
      
      * elementwise_add with bcast: fixed compilation error
      e26f51ce
  9. 07 6月, 2018 1 次提交
    • M
      Mkldnn layout (#11040) · 3ff9ba0e
      mozga-intel 提交于
      * Add MKLDNN layout support in Paddle
      
      Add MKLDNN layout in Paddle so that MKLDNN friendly memory layout
      can be used in MKLDNN enabled OP kernel. Before this commit, NCHW
      is hardcode to be used in all MKLDNN op kernels. As a result,
      non-optimized execution path is selected in MKLDNN primitive which
      bring worse performance.
      Besides framework change, three MKLDNN OP kernels were updated
      for using new MKLDNN layout. They are conv/pool2d/batch_norm.
      Other MKLDNN OP kernels need be also updated in similar way to
      achieve best performance.
      
      * Add MKLDNN layout support in activation OP
      
      * Don't populate layout from input to output when kMKLDNN in
      
      * Refine pool mkldnn op kernel
      
      * MKLDNN layout
      
      * Remove the inferitance from tensor file
      
      * MKLDNN layout: refactoring
      
      * Remove additional #define to register new operator
      
      * Prepare mkldnn tests to work with layout
      3ff9ba0e
  10. 19 4月, 2018 1 次提交
  11. 12 2月, 2018 1 次提交
  12. 10 2月, 2018 2 次提交
  13. 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
  14. 19 1月, 2018 1 次提交
  15. 10 1月, 2018 1 次提交