Skip to content

WIP: add 2d convolution reformulation#635

Draft
ericphanson wants to merge 9 commits intomasterfrom
eph/conv2d
Draft

WIP: add 2d convolution reformulation#635
ericphanson wants to merge 9 commits intomasterfrom
eph/conv2d

Conversation

@ericphanson
Copy link
Collaborator

@ericphanson ericphanson commented May 7, 2024

closes #376

It is just a reformulation and doesn't need any Convex.jl internals, but it is not super obvious how to do it (a direct scalar loopy approach would be terribly slow), and we support 1D convolutions so it seems like it is within scope.

I still need to write tests. Also it's not clear if this should just be a method to conv or a separate function. Adding a method definitely feels more Julian, but since we have the "treat everything like a matrix" matlab thing, I'd worry a little there could be weird interactions there.

Base automatically changed from eph/optimize-1dconv to master May 7, 2024 22:46
@odow
Copy link
Member

odow commented Jan 13, 2026

I added a Conv2d layer to MathOptAI: https://github.com/lanl-ansi/MathOptAI.jl/blob/main/src/predictors/Conv2d.jl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add 2D conv

2 participants