can i convert ANN model to C++ code?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear Expert,
I want to convert or create the ANN model to C++ code file. I develpoed a ANN model that predict one output correspondin to some input, so we have weight, bias, network and input parameters. could you suggest me how can i convert this ANN model to C++ code so that we can use this code or couple it in the other software like fluent.
Please let me know what is the step or procedure or any idea so that we can convert it,
0 Kommentare
Antworten (2)
Harsh
am 10 Mai 2024
Hi,
From what I understand, you're looking to generate C++ code for an Artificial Neural Network (ANN) model. MATLAB Coder allows generation of code for pretrained networks such as ResNet-50, VGG16, etc. However, it's important to note that, currently, their selection is limited to Convolutional Neural Networks (CNNs) only.
While it's possible to create ANNs in MATLAB by manually adding and adjusting layers within a network, MATLAB Coder does not yet support code generation for custom models.
For more information on all the pretrained networks available in MATLAB, please refer to the following link:
I hope this information is helpful. Thank you!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Call C++ from MATLAB 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!