Function nvcvTensorGetDataType
Defined in File Tensor.h
Function Documentation
-
NVCVStatus nvcvTensorGetDataType(NVCVTensorHandle handle, NVCVDataType *type)
Get the type of the tensor elements (its data type).
- Parameters:
handle – [in] Tensor to be queried.
Must not be NULL.
type – [out] Where the type will be written to.
Must not be NULL.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside its valid range.
NVCV_SUCCESS – Operation executed successfully.