From ff3321447ecb52740996710ed495a1fa8a99cf1a Mon Sep 17 00:00:00 2001 From: HappyAngel Date: Sun, 15 Mar 2020 07:46:29 -0500 Subject: [PATCH] [arm]fix build error (#3192) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 * fix ccompute shape error in ooperators/conv_op.h, test=develop * add opencl concat kernell * fix * fix * add model input test * fix build error * fix builld error * add ut in opencl * add ut * fix kernel name * fix kernel namedd * fix ut * add concat ut, test=develop * fix axis compute, test=develop * add other axis, test=develop * fix ut. test=develop * fix format * delete extra files, test=develop * fix origin, test=develop * fix format. test=develop * fix format2 test=develop * add leakyrelu and tanh compute * add init val * fix leakyrelu and tanh compute error, test=develop * fix leakyrelu and tanh compute error, test=develop * delete extra file, test=develop * delete file * fix format * delete extra file, test=develop * fix format, test=develop * fix format. test=develop * add grid sampler * reset act * fix conflict and readme, test=develop * fix ios run error, test=develop * fix ios run error * fix ios v8 run error * fix grid_sampler compute error. test=develop * fix exp act run error, test=develop * fix format, test=develop * fix format, test=develop * fix redefine error * fix format, test=develop * add bilinear interp * fix formart * fix build error * fix pad2d error * fix format * fixr * fix * fix format. test=develop * fix format, test=develop * fix resize error * fix format. test=develop * fix format, test=develop * fix format * note log(4) << x_image. test=develop * note x_image printf. test=develop * fix v7 clang bug. test=develop * fix format, test=develop * fix .a build bug, test=develop * fix resize bug * fix resize bug * test=develop * add cvv ut * fix clang v7 error * fix cv errorr, test=develop * fix conv test bug, test=develop * fix ut * fix ut , test=develop * fix format, test=develop * change ut, test=develop * change ut, test=develop * fix conv ut, test=develop * fix format, test=develop * fix resie bug * fix format, test=develop * fix compute error * fix format, test=develop * fix format, test=develop * fix memory bug, test=develop * fix format. test=develop * improve conv_dw profile with rel relu6 leakyrelu, test=develop * add depthwise, test=develop * fix ci error, test=develop * fix cv demo print, test=develop * test=develop * fix build error, test=develop --- lite/utils/cv/image_rotate.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lite/utils/cv/image_rotate.cc b/lite/utils/cv/image_rotate.cc index 1bacaa000d..4ef757793e 100644 --- a/lite/utils/cv/image_rotate.cc +++ b/lite/utils/cv/image_rotate.cc @@ -79,7 +79,6 @@ void rotate_hwc1( void rotate_hwc3( const uint8_t* src, uint8_t* dst, int srcw, int srch, float degree) { if (degree == 90) { - printf("rotate_hwc3_90 \n"); rotate_hwc3_90(src, dst, srcw, srch, srch, srcw); } else if (degree == 180) { rotate_hwc3_180(src, dst, srcw, srch, srcw, srch); @@ -857,7 +856,6 @@ void rotate_hwc1_180(const uint8_t* src, } } } - delete[] zerobuff; } /* 1 2 3 @@ -1388,7 +1386,6 @@ void rotate_hwc3_180(const uint8_t* src, } } } - delete[] zerobuff; } void rotate_hwc3_270(const uint8_t* src, @@ -1918,7 +1915,6 @@ void rotate_hwc4_180(const uint8_t* src, } } } - delete[] zerobuff; } void rotate_hwc4_270(const uint8_t* src, -- GitLab