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

Refactor unfold4d + Add Module #870

Merged
merged 6 commits into from
Oct 22, 2023
Merged

Refactor unfold4d + Add Module #870

merged 6 commits into from
Oct 22, 2023

Conversation

nathanielsimard
Copy link
Member

Refactor the unfold4d operation to reduce code duplication and add a default implementation for using conv2d with a weights matrix, making implementing the unfold4d operation optional for backends with probably good performance.

Made options required like other backend module options, but added them as optional for the newly created Unfold4d module using the config utilities.

I added more tests to ensure that unfold4d has no bugs comparing with PyTorch.

@agelas What are your thoughts?

@nathanielsimard nathanielsimard merged commit d263968 into main Oct 22, 2023
6 checks passed
@nathanielsimard nathanielsimard deleted the refactor/unfold4d branch October 22, 2023 15:54
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

Successfully merging this pull request may close these issues.

1 participant