From 1027bb5fc1b0b68dd1bbdae94a60f478e55d9903 Mon Sep 17 00:00:00 2001 From: NewQJX <30527824+NewQJX@users.noreply.github.com> Date: Wed, 26 Sep 2018 12:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9function-api-guid.md=E4=B8=AD?= =?UTF-8?q?Inception=E4=BE=8B=E5=AD=90=EF=BC=8Caxis=3D1=E6=94=B9=E4=B8=BAa?= =?UTF-8?q?xis=3D-1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/getting-started/functional-api-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/getting-started/functional-api-guide.md b/sources/getting-started/functional-api-guide.md index d0746ce..6da3f9d 100644 --- a/sources/getting-started/functional-api-guide.md +++ b/sources/getting-started/functional-api-guide.md @@ -288,7 +288,7 @@ tower_2 = Conv2D(64, (5, 5), padding='same', activation='relu')(tower_2) tower_3 = MaxPooling2D((3, 3), strides=(1, 1), padding='same')(input_img) tower_3 = Conv2D(64, (1, 1), padding='same', activation='relu')(tower_3) -output = keras.layers.concatenate([tower_1, tower_2, tower_3], axis=1) +output = keras.layers.concatenate([tower_1, tower_2, tower_3], axis=-1) ``` ### 卷积层上的残差连接