Intel® Math Kernel Library 2019 Developer Reference - C

dnnLayoutSerializationBufferSize

Returns the size required for layout serialization. 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

size_t dnnLayoutSerializationBufferSize_F32();

size_t dnnLayoutSerializationBufferSize_F64();

Include Files

Input Parameters

None.

Output Parameters

None.

Return Values

Returns the size in bytes required to serialize the dnnLayout_t structure.

Description

Computes the size required to serialize a layout structure.