Is it possible to add a second source of data in the lstm ?
1 次查看(过去 30 天)
显示 更早的评论
Is there a way to use the train Network or any other function in the lstm to add a second source of data?
For Example:
net1 = trainNetwork(XTrain, XTrain2, labelTrain, labelTrain2, layers, options );
layers = [ ...
sequenceInputLayer(1)
bilstmLayer(100,"OutputMode","sequence", XTrain2, labelTrain2)
dropoutLayer(0.2)
bilstmLayer(90,"OutputMode","last", XTrain2, labelTrain2)
dropoutLayer(0.2)
batchNormalizationLayer
fullyConnectedLayer(2)
softmaxLayer
classificationLayer];
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!