How do I turn a trained Neural Net into a C++ function?

1 Ansicht (letzte 30 Tage)
UndergradStudent546513
UndergradStudent546513 am 28 Okt. 2015
Beantwortet: Sudhanshu Bhatt am 30 Okt. 2015
I am currently working on speeding up the evaluations of a trained neural net. I was hoping to put the trained neural net into C++ and run the evaluations to check for an increase in speed. Does anyone know how to do this?

Antworten (1)

Sudhanshu Bhatt
Sudhanshu Bhatt am 30 Okt. 2015
Hi UndergradStudent546513,
The Neural Network toolbox functions are not supported for code generation for C/C++.
As a workaround, the Neural Network toolbox does provide functionality GENFUNCTION to produce a MATLAB function that would allow for code generation.
Hope this helps.
Thanks
Sudhanshu Bhatt

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by