Why peepholeLSTMLayer implemented in a tutorial is much slower than built-in lstmlayer?
古いコメントを表示
Why this implementation of peepholeLSTMLayer https://au.mathworks.com/help/deeplearning/ug/define-custom-recurrent-deep-learning-layer.html is much slower than built-in lstmlayer?
What can be done to speed it up? For example, can it be compiled into a binary code?
回答 (1 件)
Hiro Yoshino
2023 年 8 月 31 日
0 投票
I suppose that is because the implementation of interest is a custom model while the built-in LSTM is optimized for computation.
MATLAB has kept improving its performance over the years (see this). So I guess this is also the case with the buil-in capabilities in MATLAB.
Hope these help you.
1 件のコメント
Artem Lensky
2023 年 9 月 1 日
編集済み: Artem Lensky
2023 年 9 月 1 日
カテゴリ
ヘルプ センター および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
