Function nvcvTensorLayoutMake
Defined in File TensorLayout.h
Function Documentation
-
NVCVStatus nvcvTensorLayoutMake(const char *descr, NVCVTensorLayout *layout)
Makes a tensor layout from a string defining the labels of its dimensions.
The number of dimensions is taken from the string length.
- Parameters:
descr – [in] Zero-terminated string,
Must have at most @NVCV_TENSOR_MAX_RANK characters.
layout – [out] Where the output layout will be written to
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside valid range.
NVCV_SUCCESS – Operation executed successfully.