DLInference#
Macros#
- PVA_DL_INFERENCE_MAX_NUM_INPUTS
Maximum number of input tensors supported by the DL inference operator.
- PVA_DL_INFERENCE_MAX_NUM_OUTPUTS
Maximum number of output tensors supported by the DL inference operator.
Functions#
- NVCVStatus pvaDLInferenceCreate(NVCVOperatorHandle *handle, PvaDLInferenceCreateParams *params)
Creates an instance of the DL inference operator.
- NVCVStatus pvaDLInferenceSubmit(NVCVOperatorHandle handle, cupvaStream_t stream, PvaDLInferenceSubmitParams *params)
Executes the DL inference operation.
Structs#
- PvaDLInferenceCreateParamRec
Parameters for creating an DL inference operator.
- PvaDLInferenceSubmitParamRec
Parameters for executing a DL inference operation.
Functions#
- NVCVStatus pvaDLInferenceCreate(
- NVCVOperatorHandle *handle,
- PvaDLInferenceCreateParams *params,
Creates an instance of the DL inference operator.
- Parameters:
handle – [out] Where the operator instance handle will be written to. Must not be NULL.
params – [in] Pointer to the PvaDLInferenceCreateParams structure containing tensor requirements for inputs and outputs.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Handle or params is null.
NVCV_ERROR_OUT_OF_MEMORY – Not enough memory to create the operator.
NVCV_SUCCESS – Operation executed successfully.
- NVCVStatus pvaDLInferenceSubmit(
- NVCVOperatorHandle handle,
- cupvaStream_t stream,
- PvaDLInferenceSubmitParams *params,
Executes the DL inference operation.
- Parameters:
handle – [in] Handle to the operator. Must not be NULL.
stream – [in] Handle to a valid CUPVA stream.
params – [in] Pointer to the PvaDLInferenceSubmitParams structure containing input and output tensor handles.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Handle or params is null.
NVCV_ERROR_INTERNAL – Internal error in the operator.
NVCV_SUCCESS – Operation executed successfully.