Intel® Math Kernel Library 2018 Developer Reference - C

dnnLayoutCompare

Checks whether layouts are equal.

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.