Function TRTSERVER_TraceModelVersion

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.