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

조회 수: 7 (최근 30일)
UndergradStudent546513
UndergradStudent546513 2015년 10월 28일
답변: Sudhanshu Bhatt 2015년 10월 30일
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?

답변 (1개)

Sudhanshu Bhatt
Sudhanshu Bhatt 2015년 10월 30일
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

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by