What means MinLength in sequenceInputLayer?
7 ビュー (過去 30 日間)
古いコメントを表示
Environment
- MATLAB R2023b
- Deep Learning Toolbox
Question
I try to use this example program to learn complex-valued neural networks.
At line 38, layers are defined as below and the argments of `sequenceInputLayer` are
- numChannels
- SplitComplexInputs
- MinLength
layers = [ ...
sequenceInputLayer(numChannels,SplitComplexInputs=true,MinLength=minLength)
convolution1dLayer(filterSize,numFilters,Padding="causal")
reluLayer
layerNormalizationLayer
convolution1dLayer(filterSize,2*numFilters,Padding="causal")
reluLayer
layerNormalizationLayer
globalAveragePooling1dLayer
fullyConnectedLayer(numResponses)
regressionLayer];
What means `MinLength` in `sequenceInputLayer`?
I tried `MinLength=1` but this program worked.
If MinLength meant MinLength for down sampling, `MinLength=1` hasn't must work.
0 件のコメント
採用された回答
Pratyush Swain
2024 年 2 月 8 日
Hi mika,
The "MinLength" argument is used to define the smallest length of input sequences that the network can process. When you set "MinLength=1", it means that the network will accept sequences that are at least one time step long. It shows the capability of the network to handle variable-length input sequences.
The "MinLength" argument's default value is 1 itself.When you train or assemble a network, it checks that sequences of length 1 can propagate through the network.
For more information on "sequenceInputLayer" and its arguments, please refer to https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.sequenceinputlayer.html
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!