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

[Awaiting reviews] Initial implementation of Depthwise Conv2D #1496

Closed
wants to merge 3 commits into from

Conversation

joaogui1
Copy link
Contributor

Do you think this would be a good addition to jax/stax?

@jekbradbury
Copy link
Contributor

Is it possible to make this function generic across 1D/2D/etc. and then (like for Conv) have a wrapper that specializes it? Another option would be to enhance ConvGeneral so that it has a group count argument; if you do that, then DepthwiseConv could be a functools.partial(GeneralConv, ...) like Conv is. Do either of these sound doable?

@joaogui1
Copy link
Contributor Author

joaogui1 commented Nov 3, 2019

Hey @jekbradbury, sorry for the delay. I decided to go with the first option, as I didn't find any elegant way of getting the correct shape in the GeneralConv layer. Can you review this new version please?

@joaogui1
Copy link
Contributor Author

Pinging @jekbradbury

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

Successfully merging this pull request may close these issues.

3 participants