Function nvcvTensorBatchGetRank
Defined in File TensorBatch.h
Function Documentation
-
NVCVStatus nvcvTensorBatchGetRank(NVCVTensorBatchHandle handle, int32_t *outRankPtr)
Returns the rank of tensors in the tensor batch or -1 for an empty batch.
- Parameters:
handle – [in] Tensor batch to be queried.
outRankPtr – [in] Pointer to where the rank will be stored.
Cannot be NULL.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside valid range.
NVCV_SUCCESS – Operation executed successfully.