Tensorflow已经有了答案。 但问题是 在我的IDE中 Conv2D是一个类 而Convolution2D是一个变量?
答案 0 :(得分:18)
从keras source code开始,它们是相同的:
# Aliases
Convolution1D = Conv1D
Convolution2D = Conv2D
Convolution3D = Conv3D
SeparableConvolution2D = SeparableConv2D
Convolution2DTranspose = Conv2DTranspose
Deconvolution2D = Deconv2D = Conv2DTranspose
Deconvolution3D = Deconv3D = Conv3DTranspose