Function nvcvTensorLayoutGetLabel

Function Documentation

static inline char nvcvTensorLayoutGetLabel(NVCVTensorLayout layout, int idx)

Returns the layout label at the given index.

Parameters:
  • layout[in] Layout to be queried

  • idx[in] Index of the label

Returns:

If idx >= 0 and < layout size, returns the correspondign label. Returns ‘\0’ otherwise.