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

Feature Req: Separable Convolution #50

Open
torridgristle opened this issue Jul 14, 2022 · 0 comments
Open

Feature Req: Separable Convolution #50

torridgristle opened this issue Jul 14, 2022 · 0 comments

Comments

@torridgristle
Copy link

torridgristle commented Jul 14, 2022

The filters are made by multiplying against its flipped copy, so it should work fine if it was kept as, for example, 1x7 instead of 7x7. Then conv2d twice with the second conv2d using the weights after swapping the width and height dimensions.

I'm uncertain if this provides much of an improvement for a size of 3, but as the filter size grows it should be faster due to the number of reads increasing linearly as the width multiplied by two instead of exponentially as the width squared.

Edit: Sorry for the closed / reopen notifications, I thought I did something wrong when trying this again recently.

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

1 participant