Can I train closed-loop time-series network in parallel?
조회 수: 3 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2018년 12월 6일
답변: MathWorks Support Team
2019년 1월 9일
I have implemented a NARX recurrent neural network.
I have implemented it first as an open loop network, and then train it using the parallel computing capability. This works as expected.
However, when I try to use the parallel computing capability to train my net as a closed-loop, my computer hangs indefinitely.
채택된 답변
MathWorks Support Team
2018년 12월 6일
Note that parallelism happens across samples, or in the case of time series across different series. However, if the network has only input delays, with no layer delays, the delayed inputs can be precalculated so that for the purposes of computation, the time steps become different samples and can be parallelized. This is the case for networks such as "timedelaynet" and open-loop versions of "narxnet" and "narnet".
If a network has layer delays, then time cannot be 'flattened' for purposes of computation, and so single series data cannot be parallelized. This is the case for networks such as "layrecnet" and closed-loop versions of "narxnet" and "narnet". However, if the data consists of multiple sequences, it can be parallelized across the separate sequences.
See this documentation page for more information:
댓글 수: 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!