Keras中Conv2D与Convolution2D的区别

时间:2017-11-21 13:45:07

标签: machine-learning neural-network keras convolution keras-layer

Tensorflow已经有了答案。 但问题是 在我的IDE中 Conv2D是一个类 而Convolution2D是一个变量?

1 个答案:

答案 0 :(得分:18)

keras source code开始,它们是相同的:

# Aliases

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