featureinputlayer and convolution1dlayer
7 次查看(过去 30 天)
显示 更早的评论
featureinputlayer matches fullyconnectedlayer but not matches convolution1dlayer
0 个评论
回答(1 个)
yanqi liu
2022-3-21
layers = [
featureInputLayer(100,'Name','input')
fullyConnectedLayer(5, 'Name','fc')
softmaxLayer('Name','sm')
classificationLayer('Name','classification')]
layers2 = [
featureInputLayer(100,'Name','input')
convolution1dLayer(50, 3,'Stride',1, 'Name','cnn1d')
fullyConnectedLayer(5, 'Name','fc')
softmaxLayer('Name','sm')
classificationLayer('Name','classification')]