Intel® Math Kernel Library 2018 Developer Reference - C

dnnLayoutSerialize

Serializes a layout to a buffer.

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.