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

Add Padding to Convolutions #64

Open
avik-pal opened this issue May 7, 2022 · 0 comments
Open

Add Padding to Convolutions #64

avik-pal opened this issue May 7, 2022 · 0 comments

Comments

@avik-pal
Copy link
Contributor

avik-pal commented May 7, 2022

Would it be possible to add padding support to convolutions? My current application relies on keeping the input size fixed but uses a very small model (see below). (Without padding SimpleChains outperforms Lux by >30x on these workloads)

model = Chain(
       Conv((11,), 1 => 16, Lux.relu; pad=Lux.SamePad()),
       Conv((11,), 16 => 1; pad=Lux.SamePad()),
)

cc @ChrisRackauckas (this is for the learned solvers work)

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