Function nvcvTensorLayoutEndsWith
Defined in File TensorLayout.h
Function Documentation
-
static inline int32_t nvcvTensorLayoutEndsWith(NVCVTensorLayout layout, NVCVTensorLayout test)
Returns whether the layout ends with a given test layout.
If test layout is empty, it’s always considered to be found at the end.
- Parameters:
layout – [in] Layout to be queried
test – [in] Layout to be found
- Returns:
!=0 if found. 0 otherwise.