Is there any way to use "activations" function for a dlnetwork ?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
hyeonjin kim
il 6 Dic 2019
Commentato: hyeonjin kim
il 10 Dic 2019
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 ?
0 Commenti
Risposta accettata
Sourav Bairagya
il 10 Dic 2019
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:
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Deep Learning Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!