一维卷积网络重点图

keras使用1D卷积的例子

apply a convolution 1d of length 3 to a sequence with 10 timesteps

with 64 output filters

model = Sequential()
model.add(Convolution1D(64, 3, border_mode=‘same’, input_shape=(10, 32)))

now model.output_shape == (None, 10, 64)

add a new conv1d on top

model.add(Convolution1D(32, 3, border_mode=‘same’))

now model.output_shape == (None, 10, 32)

在这里插入图片描述

发布了21 篇原创文章 · 获赞 8 · 访问量 3104

猜你喜欢

转载自blog.csdn.net/weixin_42497252/article/details/103047735
今日推荐