Function TRTSERVER_TraceModelVersion¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_TraceModelVersion
(TRTSERVER_Trace *trace, int64_t *model_version)¶ Get the version of the model being traced.
This method is only guaranteed to correctly return the ‘model_version’ in the invocation of TRTSERVER_TraceManagerReleaseTraceFn_t
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
trace
: The trace object.model_version
: Returns the version of the model being traced.