Intel® Math Kernel Library 2019 Developer Reference - C

dnnLayoutDeserialize

Deserializes a layout from 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

dnnError_t dnnLayoutDeserialize_F32(dnnLayout_t *pLayout, const void *buf);

dnnError_t dnnLayoutDeserialize_F64(const void *buf, dnnLayout_t *pLayout);

Include Files

Input Parameters

buf

The buffer where the serialized layout is stored.

Output Parameters

pLayout

Pointer to the created layout.

Description

The dnnLayoutDeserialize function creates a new layout by deserializing (recovering) data from the input buffer.