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

Convolution3D: do not fix input_shape. (Fixes #5108.) #5177

Merged
merged 1 commit into from Feb 6, 2017

Conversation

gvtulder
Copy link
Contributor

This makes it possible to use a single Convolution3D layer with different input sizes (see #5108). The behaviour is then similar to that of Convolution2D, which also doesn't fix the input shape.

Potential downside: not providing the input shape makes it slightly harder for Theano to optimise the convolution. If the input shape is known, Theano will sometimes choose to use GpuCorrMM_gradWeights instead of the GpuCorrMM if this is faster, for example. In practice, however, Theano will mostly use the cuDNN version anyway and this should cause problems.

@fchollet fchollet merged commit 676e227 into keras-team:master Feb 6, 2017
@gvtulder gvtulder deleted the f-remove-conv3d-volume_shape branch February 6, 2017 22:17
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.

None yet

2 participants