Typedef TRTSERVER_InferenceCompleteFn_t

Typedef Documentation

typedef void (*TRTSERVER_InferenceCompleteFn_t)(TRTSERVER_Server *server, TRTSERVER_InferenceResponse *response, void *userp)

Type for inference completion callback function.

The callback function takes ownership of the TRTSERVER_InferenceResponse object and must call TRTSERVER_InferenceResponseDelete to release the object. The ‘userp’ data is the same as what is supplied in the call to TRTSERVER_ServerInferAsync.