Function nvcvTensorBatchGetDType

Function Documentation

NVCVStatus nvcvTensorBatchGetDType(NVCVTensorBatchHandle handle, NVCVDataType *outDTypePtr)

Returns the data type of the Tensor batch handle.

Returns NVCV_DATA_TYPE_NONE for empty batches.

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

  • outDTypePtr[in] Pointer to where the data type will be stored.

    • Cannot be NULL.

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

  • NVCV_SUCCESS – Operation executed successfully.