neural network: warm-start simulation

3 vues (au cours des 30 derniers jours)
Luca Cavazzana
Luca Cavazzana le 15 Déc 2011
Hi, profiling the simulation of a generic neural network I noticed that in the initialization part a great amount of time is spent in the net=obj2struct(net) function. Being sim the most time-consuming function in the program I'm writing, I was wondering if there's a way (beside writing my own sim function) to save this struct after the first time in order to speedup the next sim calls skipping the conversion in a "convert once, run multiple times" fashion.

Réponse acceptée

Greg Heath
Greg Heath le 16 Déc 2011
See my answer in the Newsgroup.
Hope this helps.
Greg

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by