MATLAB Answers

How to use dlnetwork objects with "state" in custom layers, e.g. how to define layers such as batchnormization, lstm, etc.?

6 views (last 30 days)
cui
cui on 17 Aug 2021
Answered: cui on 24 Sep 2021 at 3:28
How to use dlnetwork objects with "state" in custom layers, e.g. how to define layers such as batchnormization, lstm, etc.?
However, according to the R2021a documentation, layers with states are not supported. How do I define a network in a custom layer in case I have such a need?
如何在自定义层中使用带有"state"的dlnetwork objects,比如如何定义batchnormization,lstm等层?
但是根据R2021a文档内容叙述并不支持有state的层,如果万一有这种需求,该如何在自定义层中定义搭建网络呢?

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by