Issues in Code generation of Deep Neural Networks using C++ and MKLDNN third party library

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)

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.

Products

Release

R2020a

Community Treasure Hunt

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

Start Hunting!