1. 22 11月, 2019 2 次提交
    • H
      update conv 2-pad to 4-pad (#2404) · 820eb6d4
      HappyAngel 提交于
      * fix conv 2-pad to 4-pad
      
      * fix compute conv shape
      
      * fix pad, test=develop
      
      * change conv_depthwise_3x3s1_fp.cc name to conv3x3s1p01_depthwise_fp32.cc to distinguish between conv3x3s1_depthwise_fp32.cc
      
      * delete printf note in conv3x3s1, test=develop
      
      * delete printf note, test=develop
      
      * delete gem_sdot.h, test=develop
      
      it is coped from __gemm_sdot_meta_.h
      
      * update compute padding, test=develop
      
      * fix padding size, must be 2 or 4. test=develop
      
      * fix format in operators/conv_op.cc, test=develop
      
      * change #if 0 to #if 1, test=develop
      
      * put 2-pad to 4-pad in AttachImpl, test=develop
      
      * fix clang-format error inn tests/math/connv_compute_test, test=develop
      
      * fix x86 test result error, test=develop
      
      * add asymmetric padding test case in liite/tests/math/conv_compute.cc, test=develop
      
      * change paddings type to support dynamically modify, test=develop
      
      * fix x86 build error in connv_compute_test, test=develop
      
      * fix opencl build error, test=develop
      
      * fix oopencl build error, test=develop
      
      * fix  opencl/conv_compute build error, test=develop
      
      * fix  opencl/conv_compute build error, test=develop
      
      * fix format in kernels/opencl/conv_computte_ttest,test=develop
      
      * fix build error, test=develop
      
      fix build error in kernels/x86/conv_compute.h
      820eb6d4
    • H
      add NHWC NCHW transform, test=develop (#2381) · 6b3c341f
      HappyAngel 提交于
      * add nhwc to nchw
      
      * add layout in funcs
      
      * change layout as extra, test=develop
      
      * change make, test=develop
      
      * use template class method to update layout NNCHHW and NHWC transform, test=develop
      
      * fix cmake error, set layout to extra, test=develop
      
      * fix test_layout_compute_arm test, its extra
      
      * layout is extra, test=develop
      
      * fix error in kernels/arm/layout_comput.cc when register kernel, DataLayout must be NCHW, test=develop
      
      * delete extra note, test=develop
      
      * delete extra test
      
      * delete layout_test, test=develop
      
      , its in tests/math/layout_comput_test
      
      * delete extrat test, test=develop
      6b3c341f
  2. 17 10月, 2019 1 次提交
    • H
      speedup fp32 depthwise conv · 2f6d5f9e
      HappyAngel 提交于
      * update con_dw
      
      * update
      
      * add conv_depthwise_3x3s1.cc and conv_depthwise_3x3s2.cc
      
      * add conv_depthwise_3x3s1_fp32 and conv_depthwise_3x3s2_fp32
      
      * add new conv_dw
      
      * only support conv_dw pad=0, 1
      
      * add conv_dw_s1 conv_dw_s2 fp32
      
      *     //conv2_func _impl2{nullptr};
      update conv_dw, add conv_3x3s1 and conv_3x3s2, pad=[0,1]
      
      * fix format, test=develop
      
      * fix formmat, test=develop
      2f6d5f9e
  3. 09 10月, 2019 1 次提交
    • Y
      improve dw conv performance · 4b9df8fb
      yiicy 提交于
      *  imporve prepack_input func speed in int8 3x3s1 dw conv
      
      * fix code style
      
      * fix code style
      
      * improve 3x3s1 dw fp32 conv speed a little
      
      * arm add 5x5s1 int8 dw conv, test=develop
      4b9df8fb
  4. 18 9月, 2019 1 次提交
    • X
      fix bias quantize error && fix clang build error (#2049) · 81dffbe8
      Xiaoyang LI 提交于
      * fix gemm_int8, gemv-int8 and conv-int8 math function, add float bias
      
      * change conv impl
      
      * neon int8 kernel support float bias
      
      * arm compute kernel support float bias
      
      * add math_test target
      
      * add tensor utils for testing, fix sgemm ut error
      
      * add gemm_int8 unit test, support float bias
      
      * fix build script
      
      * add conv compute unit test for arm
      
      * fix build script, test=develop
      
      * fix fp32 dw conv3x3s1, test=develop
      
      * add fp32 dw conv3x3s1, test=develop
      
      * add armv7 fp32 dw conv3x3s1, test=develop
      
      * add fp32 depthwise conv3x3s2, test=develop
      
      * fix fp32 conv3x3 depthwise build error, test=develop
      
      * fix gemm_like conv trans weights error, test=develop
      
      * fix int8 depthwise conv3x3 error, test=develop
      
      * turn on all test for arm fp32 conv, test=develop
      
      * fix int8 conv1x1 error
      
      * fix int8 direct conv3x3s1 error, test=develop
      
      * fix int8 direct conv3x3s2, test=develop
      
      * turn on all test for arm int8 conv, test=develop
      
      * fix int8 fc error, change mobilenetv1-int8 ground-truth result to fluid, test=develop
      
      * remove debug info, strip ut binary, test=develop
      
      * fix conv compute error, test=develop
      
      * change Init() to ReInitWhenNeeded(), test=develop
      
      * fix code style, test=develop
      
      * remote engine_test, test=develop
      
      * fix building server tests error, test=develop
      
      * fix sdot clang build error, test=develop
      
      * fix sgemm ut timeout error, test=develop
      
      * fix clang build error, test=develop
      
      * turn off math basic test due to ci time out, test=develop
      
      * fix conv_int8 ut error, test=develop
      81dffbe8