dlnetwork with two inputs

5 ビュー (過去 30 日間)
Hasan Zan
Hasan Zan 2019 年 12 月 5 日
回答済み: Sourav Bairagya 2019 年 12 月 9 日
Hi,
Since dlnetwork does not support network with two inputs, how I can convert the network (with hundreds of layers) to dlnetwork.
Thanks

回答 (1 件)

Sourav Bairagya
Sourav Bairagya 2019 年 12 月 9 日
Currently, to build 'dlnetwork' object, network must contain only one input layer. Hence, in current framework you cannot convert your network with two separate inputs into 'dlnetwork' object.
However, you can use CombinedDatastore or can create your custom layer which is able to take multiple input. You can follow this link to get an idea how custom layers can be written.
You can also leverage this link to create your layer graph and then convert that into a dlnetwork object.

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by