Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6975 Discussions

Parameter order is wrong for dnnLayoutDeserialize

Tao_L_Intel
Employee
216 Views

 

In this page: https://software.intel.com/en-us/mkl-developer-reference-c-2018-beta-dnnlayoutdeserialize

It is defined as: dnnError_t dnnLayoutDeserialize_F32(const void *buf, dnnLayout_t *pLayout);

but in mkl_dnn.h from mklml_lnx_2017.0.2.20170209, it is defined as: dnnError_t dnnLayoutDeserialize_F32(dnnLayout_t *pLayout, const void *buf);

The parameter order is opposite.

 

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
216 Views

thanks, this is documentation problem. We will fix this.

0 Kudos
Reply