Function nvcvTensorLayoutCompare

Function Documentation

static inline int32_t nvcvTensorLayoutCompare(NVCVTensorLayout a, NVCVTensorLayout b)

Compares the two layouts.

Parameters:

a, b[in] Layouts to be compared

Returns:

<0, 0 or >0 if a compares less than, equal to, or greater than b, respectivelt.