Intel® Math Kernel Library 2018 Developer Reference - C

dnnLayoutDeserialize

Deserializes a layout from a buffer.

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.