Intel® Math Kernel Library 2019 Developer Reference - C

dnnLayoutCompare

Checks whether layouts are equal. 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 dnnLayoutCompare_F32(const dnnLayout_t L1, const dnnLayout_t L2);

int dnnLayoutCompare_F64(const dnnLayout_t L1, const dnnLayout_t L2);

Include Files

Input Parameters

L1

The first layout.

L2

The second layout.

Output Parameters

None.

Description

Each dnnLayoutCompare function checks whether the layouts L1 and L2 are equal and returns 1 if the layouts are equal and 0 otherwise.