Deleting some layers from trained neural network model

3 vues (au cours des 30 derniers jours)
Abdelwahab Afifi
Abdelwahab Afifi le 22 Juin 2020
I have trained a big neural network NN which has the structure [20 2 20] as shown in the first figure. After training, I wanna separate/copy/keep the first part of the network [20 2] and save its wights, biases, and connections as shown in the second figure. How can I do so?

Réponses (1)

Bhargavi Maganuru
Bhargavi Maganuru le 6 Juil 2020
Hi,
You can get weights, biases of feedforward network using network object parameters IW,LW,b
You can refer following links for more information

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by