Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to modify the convolution property to same. #135

Open
yahuuu opened this issue Nov 20, 2021 · 1 comment
Open

How to modify the convolution property to same. #135

yahuuu opened this issue Nov 20, 2021 · 1 comment

Comments

@yahuuu
Copy link

yahuuu commented Nov 20, 2021

I converted onnx to h5, but found that the padding property in the convolution is valid, how to modify the property to same. Whether this property affects the speed when post quantized model runs on the SnapDragon 855 DSP.

@TianpengBu
Copy link

You can do this by modifying the mode of Conv Op in def convert_conv of this tool.
image

I have not tested the performance of this modification, I am looking forward to hearing your test result whether it does improve the speed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants