Deleting some layers from trained neural network model

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?

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 22 de Jun. de 2020

Respondida:

el 6 de Jul. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by