在MATLAB中找不​到convoluti​on1dLayer函​数

我想利用卷积神经网络进行序列回归预测,但是在我的MATLAB上找不到convolution1dLayer函数,可是在网站上显示是有的,请问这是什么原因?我已经安装了Deep Network Designer。
>> help convolution1dLayer
--- 未找到 convolution1dLayer。改为显示 convolution2dLayer 的帮助。---
convolution2dLayer - 2-D convolutional layer
A 2-D convolutional layer applies sliding convolutional filters to the input.
layer = convolution2dLayer(filterSize,numFilters)
layer = convolution2dLayer(filterSize,numFilters,Name,Value)
另请参阅 batchNormalizationLayer, Deep Network Designer, fullyConnectedLayer,
groupedConvolution2dLayer, maxPooling2dLayer, reluLayer, trainNetwork
convolution2dLayer 的文档

回答(2 个)

凯 秦
凯 秦 2022-4-18

0 个投票

Introduced in R2021b
请查看你的matlab版本号
xuegang wang
xuegang wang 2022-7-12

0 个投票

把1d序列当作特殊的2d-image,通道数设置为1,使用convolution2dLayer可以替代一下1d的情况

类别

在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!