Function nvcvTensorBatchPopTensors
Defined in File TensorBatch.h
Function Documentation
-
NVCVStatus nvcvTensorBatchPopTensors(NVCVTensorBatchHandle handle, int32_t numTensors)
Pop tensors from the end of the image batch.
- Parameters:
handle – [in] Tensor batch to be manipulated
Must not be NULL.
The handle must have been created with nvcvTensorBatchConstruct.
numTensors – [in] Number of tensors to remove.
Must be >= 1.
Must be <= number of tensors in the batch.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside its valid range.
NVCV_ERROR_UNDERFLOW – Tried to remove more tensors that there are in the batch.
NVCV_SUCCESS – Operation executed successfully.