Add C++ wrapper Simd::SynetDeconvolution32f - #923
Merged
Conversation
Add Simd::SynetDeconvolution32f in SimdSynet.hpp as a C++ analogue of Synet::Deconvolution32f, with Doxygen docs, C++ API check test, and release notes for 7.2.165. Co-authored-by: igor.ermolaev <igor.ermolaev@altezza.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
Simd::SynetDeconvolution32f, a C++ wrapper analogue ofSynet::Deconvolution32ffrom ermig1979/Synet (src/Synet/Utils/Deconvolution.hondev).The class lives in
SimdSynet.hppand wraps:SimdSynetDeconvolution32fInitSimdSynetDeconvolution32fExternalBufferSizeSimdSynetDeconvolution32fInternalBufferSizeSimdSynetDeconvolution32fInfoSimdSynetDeconvolution32fSetParamsSimdSynetDeconvolution32fForwardIt follows the existing
Simd::SynetInnerProduct*wrapper style:Init/Enable/ buffer-size /Info/SetParams/Forward/Clear, with Doxygen documentation and a usage example.Test
TestSynetDeconvolution32f()insrc/Test/TestCheckCpp.cppcompares the wrapper against the C API on a small NHWC 2x2 deconvolution (output values, internal/external buffer sizes, andInfo())../Test "-r=.." -cc=1 -fi=SobelDx -tt=1 -ts=1— CheckCpp wrapper test plus Sobel smoke, no failuresEnable, buffer sizes70/1,InfoAvx512bw::NhwcDirect2x2, 144 outputs match./Test "-r=.." -fi=SynetDeconvolution32f -fe=SynetDeconvolution16b -tt=1 -ts=1— C API auto-tests passedDocs
SimdSynet.hppSimdLib.hcpp_synetgroup mention inprj/txt/DoxygenGroups.txtdocs/2026.htmlSimdSynet.hppwas already listed inprj/vs2022/Simd.vcxprojandprj/vs2022/Simd.vcxproj.filters; no VS project change was required.Notes
Sources were taken from the
devbranches of both Simd and Synet.