Issues in Code generation of Deep Neural Networks using C++ and MKLDNN third party library
Show older comments
Hai,
I am trying to Generate C++ Code for Deep Neural Network Policy using Third-Party Libraries. I used the following link to bulid the MKLDNN library for MATLAB Version 2020b with suggested instructions (MATLAB Coder: How do I build the Intel MKL-DNN library for Deep Learning C++ code generation and deployment? - (mathworks.com)) . When I execute the codeden instruction (codegen('-config','cfg','evaluatePolicy','-args',argstr,'-report')), I am getting the following error.
Error:
??? The library method 'dltargets.mkldnn.mkldnnApi.updateBuildInfo' failed.
Caused by: Insufficient number of outputs from right hand side of equal sign to satisfy assignment.
Code generation failed: View Error Report

Please help me to solve in this regeard.
When I try to generate the same agent with C language and no third party Library, the code generation report is successful.
Answers (1)
Quentin Brian Rossier
on 3 Jun 2022
Edited: Quentin Brian Rossier
on 4 Jun 2022
0 votes
I have the same problem, did you find a solution?
I ve try with C language and no third party Library but I get the following:
Target library 'none' is not supported. Supported values for target library are mkldnn, arm-compute.
edit: I download the newest version of Matlab 2022a and everything seems to work perfectly fine.
1 Comment
ANUGULA RAJAMALLAIAH
on 9 Jun 2022
Categories
Find more on Reinforcement Learning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!