-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Refactor the convolution-related code #2196
Comments
NNPACK only supports NCHW. cuDNN supports NCHW by default. Maybe we can only support NCHW layout.
It's better to calculate output size each mini-batch. |
Paddle's current convolutional module code structure
|
Draw the reconstructed code structure
|
Merge some ConvLayerAt present ConvLayer and ConvTransLayer are written two implementations. For example, ExpandConvLayer and ExpandConvTransLayer are implemented in At present
Use ConvFunction
|
For some reason, we need to reconstruct the convolution-related code #2177 . In addition to performance considerations, how to make paddle convolution-related code clearer and more readable is the primary purpose.
So, the whole refactoring process needs to figure out the following things:
The text was updated successfully, but these errors were encountered: