Function TRITONSERVER_InferenceResponseModel¶
Defined in File tritonserver.h
Function Documentation¶
-
TRITONSERVER_Error *
TRITONSERVER_InferenceResponseModel
(TRITONSERVER_InferenceResponse *inference_response, const char **model_name, int64_t *model_version)¶ Get model used to produce a response.
The caller does not own the returned model name value and must not modify or delete it. The lifetime of all returned values extends until ‘inference_response’ is deleted.
- Return
a TRITONSERVER_Error indicating success or failure.
- Parameters
inference_response
: The response object.model_name
: Returns the name of the model.model_version
: Returns the version of the model. this response.