-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[TOPI] Fix nn.pool*d
issue with 'vectorize' function and add unit tests
#8541
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please fix the linting.
You should use black -l 100 <file>
to format the changed files.
nn.pool*d
issue with 'vectorize' function and add unit tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! @MarioPeric-SiMa-ai There're still some CI issues in thi PR need to be fixed, I think we can merge this once CI has been cleaned.
@jcf94 I've fixed issues with linter, but I'm not sure what's wrong now. |
Oh, I think that's not your fault. Seems recently we got some trouble with the CI machine. I also have several PRs blocked by the CI issue. Related: #8552 |
…ests (apache#8541) * Fix issue in 'vectorize' function for 1D and 3D tensors * Add pooling tests for channel last layouts * Add support for more general layouts in "poolnd" implementation * Reformat with 'black' * Fix lint issues
…ests (apache#8541) * Fix issue in 'vectorize' function for 1D and 3D tensors * Add pooling tests for channel last layouts * Add support for more general layouts in "poolnd" implementation * Reformat with 'black' * Fix lint issues
This PR should fix the issue that is preventing 1D and 3D pooling functions to be used with non-default layouts on x86 architecture. Unit tests were added as well to confirm that this is working since there were not test to cover this case.