Difference between Conv2D and Convolution2D in Keras

Shashi Tunga picture Shashi Tunga · Nov 21, 2017 · Viewed 9.5k times · Source

There is already an answer wrt to Tensorflow. But the problem is that In my IDE Conv2D is a class while Convolution2D is a variable?

Answer

Daniel Möller picture Daniel Möller · Nov 21, 2017

From the keras source code, they're the same:
(The source code changes from time to time and the line number in the link above might eventually be wrong)

# Aliases

Convolution1D = Conv1D
Convolution2D = Conv2D
Convolution3D = Conv3D
SeparableConvolution2D = SeparableConv2D
Convolution2DTranspose = Conv2DTranspose
Deconvolution2D = Deconv2D = Conv2DTranspose
Deconvolution3D = Deconv3D = Conv3DTranspose