Intel® Math Kernel Library 2018 Developer Reference - C
Serializes a layout to a buffer.
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.