Intel® Math Kernel Library 2019 Developer Reference - C
Serializes a layout to a buffer. Note: The Deep Neural Network (DNN) component in Intel MKL is deprecated and will be removed in a future release. You can continue to use optimized functions for deep neural networks through Intel Math Kernel Library for Deep Neural Networks.
int dnnLayoutSerialize_F32(const dnnLayout_t layout, void *buf);
int dnnLayoutSerialize_F64(const dnnLayout_t layout, void *buf);
layout |
The layout to be serialized. |
buf |
The buffer where the layout is serialized (saved). |
Each dnnLayoutSerialize function serializes a layout to a memory buffer.