Intel® Math Kernel Library 2019 Developer Reference - C

dnnLayoutSerialize

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.

Syntax

int dnnLayoutSerialize_F32(const dnnLayout_t layout, void *buf);

int dnnLayoutSerialize_F64(const dnnLayout_t layout, void *buf);

Include Files

Input Parameters

layout

The layout to be serialized.

Output Parameters

buf

The buffer where the layout is serialized (saved).

Description

Each dnnLayoutSerialize function serializes a layout to a memory buffer.