Intel® Math Kernel Library 2018 Developer Reference - C
Checks whether layouts are equal.
int dnnLayoutCompare_F32(const dnnLayout_t L1, const dnnLayout_t L2);
int dnnLayoutCompare_F64(const dnnLayout_t L1, const dnnLayout_t L2);
L1 |
The first layout. |
L2 |
The second layout. |
None.
Each dnnLayoutCompare function checks whether the layouts L1 and L2 are equal and returns 1 if the layouts are equal and 0 otherwise.