how to create Time distributed layer
2 次查看(过去 30 天)
显示 更早的评论
Hi, i try to create a time distributed layer for my lstm encoder decoder, which i make use of timedelaynet. But whenever i make use this, i get the error because it is the network instead of layer. May i know if there is anywhere to create time distributed layer. Thank you
layers=[...
sequenceInputLayer(numInFeatures)
lstmLayer(numEnUnits,"OutputMode","last")
repeatVectorLayer(30)
lstmLayer(numDeUnits)
timedelaynet(30,numDenseUnits)
timedelaynet(30,numOutFeatures)
regressionLayer];
-----------------------------------------------------------------------------------------
%% this is the error that is gotten
Cannot convert from 'network' to 'nnet.cnn.layer.SequenceInputLayer'.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!