필터 지우기
필터 지우기

Error using layerGraph in Neural Network toolbox

조회 수: 15 (최근 30일)
Gerard Bailly
Gerard Bailly 2018년 6월 26일
답변: John Smith 2019년 1월 15일
I tried to run the example given in the sequenceInputLayer documentation and plot the layergraph. The error message is unexpected ("Layer array must not contain a sequence input layer"!). What's wrong???
layers = [ ... sequenceInputLayer(12) lstmLayer(100,'OutputMode','last') fullyConnectedLayer(9) softmaxLayer classificationLayer]; lgraph = layerGraph(layers); Error using nnet.internal.cnn.util.validateLayersForLayerGraph (line 28) Layer array must not contain a sequence input layer.
Error in layerGraph>iPostProcessParsingResultsForConstructor (line 86) inputArguments.Layers = nnet.internal.cnn.util.validateLayersForLayerGraph(results.Layers);
Error in layerGraph (line 46) inputArguments = iPostProcessParsingResultsForConstructor(parser.Results);

답변 (1개)

John Smith
John Smith 2019년 1월 15일
It's a limitation of Matlab (at least until 2018b).
Documentations says: Layer graphs cannot specify the architecture of long short-term memory (LSTM) networks.

카테고리

Help CenterFile Exchange에서 Install Products에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by