Function nvcvTensorBatchGetUserPointer

Function Documentation

NVCVStatus nvcvTensorBatchGetUserPointer(NVCVTensorBatchHandle handle, void **outUserPtr)

Returns the user pointer associated with the Tensor batch handle.

If no user pointer was associated, it’ll return a pointer to NULL.

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

  • outUserPtr[in] Pointer to where the user pointer will be stored.

    • Cannot be NULL.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside valid range.

  • NVCV_SUCCESS – Operation executed successfully.