Function nvcvTensorBatchIncRef

Function Documentation

NVCVStatus nvcvTensorBatchIncRef(NVCVTensorBatchHandle handle, int32_t *newRefCount)

Increments the reference count of an Tensorbatch.

Parameters:
  • handle[in] Tensor batch to be retained.

  • newRefCount[out] The incremented reference count. Can be NULL, if the caller isn’t interested in the new reference count.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – The handle is invalid

  • NVCV_SUCCESS – Operation executed successfully.