1. 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
  2. 17 5月, 2018 1 次提交
    • J
      - Draft of reuse of pooling mkldnn operator · 5f133305
      Jacek Czaja 提交于
      - Finished draft of pooling reusing of operators
      
      - Using gethash in PoolGrad added
      
      - Removed diagnostic
      
      - Added pool mkldnn grad reusing of primitives
      
      - Added diagnostic
      
      - Removed diagnostic
      
      - added dependency to mkldnn data type for pooling mkldnn
      
      - Added mkldnn memory data type determining based on template type of op
      
      - Compilation warning fix
      
      - codying style fixes
      5f133305
  3. 13 4月, 2018 1 次提交
  4. 10 3月, 2018 1 次提交