フィルターのクリア

Is there any way to use "activations" function for a dlnetwork ?

15 ビュー (過去 30 日間)
hyeonjin kim
hyeonjin kim 2019 年 12 月 6 日
コメント済み: hyeonjin kim 2019 年 12 月 10 日
I would like to obtain an activation from a specific layer of a trained network of type 'dlnetwork' by using the 'activations' function, but it does not work resulting in the following error message.
"undefined function 'activations' for input argument of type 'dlnetwork' ."
Can I get around this problem ?

採用された回答

Sourav Bairagya
Sourav Bairagya 2019 年 12 月 10 日
The "activations" function supports only SeriesNetwork object or DAGNetwork object, but doesn't support 'dlnetwork' object.
However, you can use "forward" fucntion to compute activations from a specific layer of a 'dlnetwork' object.
[dlY1,..,dlYN] = forward(dlnet,dlX,'Outputs',layerNames)
You can leverage this link to know more details about the usage of "forward" function:
  1 件のコメント
hyeonjin kim
hyeonjin kim 2019 年 12 月 10 日
Dear Sourav,
I greatly appreciate your help !!!
Thanks very much !!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by