卷积层的残差链接

主要是实现卷积层的残差链接

'''
from keras.layers import Conv2D, MaxPooling2D, Concatenate,Add
from keras.models import Input,Model
x = Input(shape=(256, 256,3))
y = Conv2D(3, (3, 3), padding='same')(x)
z = Add()([x, y])

model = Model(inputs=x,outputs=z)

print(model.summary())
'''

你可能感兴趣的:(卷积层的残差链接)