-
Notifications
You must be signed in to change notification settings - Fork 314
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
nnp_convolution_inference returns output with all zeros #154
Comments
If you want output to have the same size as input, you should set |
@Maratyszcza In the above sample, I set the input padding to 0 since I set the output_size to {3, 3}. I tried the above snippet by setting padding to 1 and output size same as input for 3x3 kernel. I am still seeing incorrect convolution output. (output array is set to 0). Do you see any issue with my code? |
Do you check the status of the second |
Also, |
@Maratyszcza thanks a lot for response. I am seeing "nnp_status_success" for second inference call with compute, precompute strategies. |
Can you tell me where is nnp_convolution_inference is defined please? |
I wrote small snippet of code to check NNPack convolution inference speed. For some reason nnp_convolution_inference method returns output with zeros. I am not able to figure out the issue with below snippet of code. Can you please help me with the issue.
The text was updated successfully, but these errors were encountered: