ncnn icon indicating copy to clipboard operation
ncnn copied to clipboard

NCNN resize_nearest

Open obtx opened this issue 3 years ago • 4 comments

Implement resize_nearest function in NCNN

obtx avatar Jul 10 '22 03:07 obtx

CLA assistant check
All committers have signed the CLA.

tencent-adm avatar Jul 10 '22 03:07 tencent-adm

This pull request fixes 7 alerts when merging 702c5c6d899d3f818e4ef08b65eff68b1b74068d into a12cd7c212d50f203c5ea56601047048f0ae308b - view on LGTM.com

fixed alerts:

  • 5 for Multiplication result converted to larger type
  • 1 for Comparison result is always the same
  • 1 for FIXME comment

lgtm-com[bot] avatar Jul 10 '22 04:07 lgtm-com[bot]

Codecov Report

Merging #4016 (22617a6) into master (43912c7) will decrease coverage by 2.70%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #4016      +/-   ##
==========================================
- Coverage   93.89%   91.18%   -2.71%     
==========================================
  Files         728      698      -30     
  Lines      177006   161862   -15144     
==========================================
- Hits       166200   147600   -18600     
- Misses      10806    14262    +3456     
Impacted Files Coverage Δ
src/mat.h 89.66% <ø> (-0.21%) :arrow_down:
src/mat_pixel_resize.cpp 80.86% <0.00%> (-17.86%) :arrow_down:
src/layer/x86/convolution_2x2_pack8.h 2.75% <0.00%> (-97.25%) :arrow_down:
src/layer/x86/deconvolution_pack8.h 10.76% <0.00%> (-89.24%) :arrow_down:
src/layer/x86/convolution_sgemm_pack8.h 14.24% <0.00%> (-85.24%) :arrow_down:
src/layer/x86/convolution_sgemm_pack4to8.h 29.16% <0.00%> (-70.84%) :arrow_down:
src/layer/x86/convolution_pack8.h 34.42% <0.00%> (-65.58%) :arrow_down:
src/layer/arm/convolution_3x3_pack1to4_bf16s.h 35.25% <0.00%> (-63.90%) :arrow_down:
src/layer/x86/convolution_pack4to8.h 42.85% <0.00%> (-55.11%) :arrow_down:
src/layer/arm/convolution_sgemm_pack1to4_bf16s.h 48.37% <0.00%> (-49.86%) :arrow_down:
... and 234 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0de869e...22617a6. Read the comment docs.

codecov-commenter avatar Jul 10 '22 11:07 codecov-commenter

The code documentation is as follows : 【腾讯文档】ncnn resize_nearest 文档 https://docs.qq.com/doc/DTGFNcmVDUGlDaWtM

obtx avatar Aug 07 '22 04:08 obtx