* quantize and dequantize tests
* unify activation and usability function
* drop NCNN_REQUANT cmake option, test dequantize requantize pack8, fix webassembly build
* benchmark use requantize int8 model
* feat(ncnnoptimize): replace denormals to zero on layers with weights
Co-authored-by: youngsoo.lee <youngsoo15.lee@gmail.com>
Co-authored-by: Restyled.io <commits@restyled.io>
* add ncnnoptimise cut net function
* add ncnnoptimise cut net function
* Restyled by clang-format
* Restyled by astyle
* Restyled by clang-format
* Restyled by astyle
Co-authored-by: chenty <admin@chenty.com>
Co-authored-by: Restyled.io <commits@restyled.io>
* support pytorch adaptive pool
* support onnx2ncnn adaptive pool convert
* support ncnnoptimize adaptive pool param write
* fix adaptive pool out_shape order
* fix adaptive pool out_shape order, H and W can be either a int
add test case, set support_vulkan = false Pooling_vulkan::create_pipeline
* review adaptive pool
* fix typo
* add adaptive pool forward in pooling_x86.cpp pooling_arm.cpp
fix out_w, out_h id naming convention
* fix typo
* don't support packing, bf16, int8, image for adaptive pool
* Restyled by clang-format
* Restyled by astyle
* Restyled by clang-format
* Restyled by astyle
Co-authored-by: Restyled.io <commits@restyled.io>
* update roialign
* update tool for roialign
* fix ceil for roialign
* fix ios build
* fix
* fix
* make it compatibile with the old version
* fix ios build
* trigger CI
* fix test
* order
* build
* remove code
* merge roialign
* accelerate ROIAlign
* update note
* rename func
* roialign version
* trigger CI
* fix roialign
* use ref for pre-calc in roialign
* retrigger CI
* pre-alloc
* use Mat class for Shape description
* shape specialization constant in compute shader
* wip
* wip
* test forward_inplace, add binaryop unaryop sigmoid test
* fix arm unaryop test
* fix arm binaryop test
* make shape hint optional, cast int8 to fp32, add cast test
* wip
* follow the good and old local size setting for conv1x1
* the optimal local size rewrite
* fix build on msvc
* add permute shader for all packing layout, add permute test
* concat and slice patial shape constant, slice test
* fix slice test
* interp test
* add lrn test, test packing layout implicitly
* add eltwise test
* add normalize test
* add instancenorm test
* reorg shape constant
* simple local group size partition
* add shape constant param
* fix type conversion warning
* fix MSVC _CRT_SECURE_NO_DEPRECATE warning
* type conversion: missing one
* fix MSVC _CRT_SECURE_NO_DEPRECATE warning and type warning
* reformat
* convert google::protobuf::int64 to size_t to avoid type impl between msvc and gcc gap
* remove C++11 auto
* tab -> space
* Change DataReader::read()'s signature to fix warning C4267
This CL fixes lots of warning "C4267: 'initializing': conversion from
'size_t' to 'int'" in our codebase by matching DataReader::read()'s
signature to fread().
* Fix warnings C4244 and C4267 in tools/ncnnoptimize.cpp
C4244: 'initializing': conversion from 'double' to 'float',
possible loss of data
C4267: 'initializing': conversion from 'size_t' to 'int',
possible loss of data
* Fix warning C4244 in src\layer\selu.cpp
C4244: '=': conversion from 'double' to 'float', possible loss of data
* Fix warning C4244 in src\layer\cast.cpp
C4244: '=': conversion from 'double' to 'float', possible loss of data
C4244: 'return': conversion from 'float' to 'signed char', possible loss of data
* Fix warning C4244 in src\layer\psroipooling.cpp
C4244: 'initializing': conversion from 'double' to 'float',
possible loss of data
C4244: 'initializing': conversion from 'double' to 'int',
possible loss of data