Function TRITONSERVER_InferenceResponseError

Function Documentation

TRITONSERVER_Error *TRITONSERVER_InferenceResponseError(TRITONSERVER_InferenceResponse *inference_response)

Return the error status of an inference response.

Return a TRITONSERVER_Error object on failure, return nullptr on success. The returned error object is owned by ‘inference_response’ and so should not be deleted by the caller.

Return

a TRITONSERVER_Error indicating the success or failure status of the response.

Parameters
  • inference_response: The response object.